Skip to content

Commit

Permalink
修正语法错误
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed Mar 9, 2021
1 parent a484f66 commit 127d279
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
node-version: '12.x'
- name: Cache file
- uses: actions/cache@v2
uses: actions/cache@v2
with:
path: |
node_modules
Expand All @@ -27,7 +27,8 @@ jobs:
key: ${{ runner.os }}-build-caches-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-
- run: npm install && npm run publish:gh
- name: Build & Release
run: npm install && npm run publish:gh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -42,7 +43,7 @@ jobs:
with:
node-version: '12.x'
- name: Cache file
- uses: actions/cache@v2
uses: actions/cache@v2
with:
path: |
node_modules
Expand All @@ -52,7 +53,8 @@ jobs:
key: ${{ runner.os }}-build-caches-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-
- run: npm install && npm run publish:gh:mac
- name: Build & Release
run: npm install && npm run publish:gh:mac
env:
ELECTRON_CACHE: $HOME/.cache/electron
ELECTRON_BUILDERCACHE: $HOME/.cache/electron-builder
Expand All @@ -63,7 +65,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install package
- run: sudo apt-get install -y rpm bsdtar
run: sudo apt-get install -y rpm bsdtar

- name: Check out git repository
uses: actions/checkout@v2
Expand All @@ -73,7 +75,7 @@ jobs:
with:
node-version: '12.x'
- name: Cache file
- uses: actions/cache@v2
uses: actions/cache@v2
with:
path: |
node_modules
Expand All @@ -83,6 +85,7 @@ jobs:
key: ${{ runner.os }}-build-caches-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-
- run: npm install && npm run publish:gh:linux
- name: Build & Release
run: npm install && npm run publish:gh:linux
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 127d279

Please sign in to comment.