mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
更新 .github/workflows/build.yml
This commit is contained in:
parent
0238ea59d6
commit
a79b930ddd
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -6,7 +6,7 @@ name: halo-theme-dream2.0-plus CI
|
||||
on:
|
||||
push:
|
||||
branches: [ "master", "dev" ]
|
||||
paths: ["version"]
|
||||
paths: ["theme.yaml"]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -37,7 +37,7 @@ jobs:
|
||||
- name: version
|
||||
id: version
|
||||
run: |
|
||||
version=$(cat version)
|
||||
version=$(grep 'version:' theme.yaml | sed 's/.*:\s*//')
|
||||
echo "version=$version" >> $GITHUB_ENV
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v4
|
||||
|
Loading…
x
Reference in New Issue
Block a user