Skip to content

Commit 6c8a9d9

Browse files
committed
ci: fix workflow
1 parent 976e25e commit 6c8a9d9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/on_push.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: coverallsapp/github-action@master
2424
with:
2525
github-token: ${{ secrets.GITHUB_TOKEN }}
26-
- uses: actions/upload-artifacts@master
26+
- uses: actions/upload-artifact@v3
2727
with:
2828
name: bundle
2929
path: pkg
@@ -41,7 +41,7 @@ jobs:
4141
release:
4242
name: Release
4343
runs-on: ubuntu-latest
44-
if: github.ref === 'refs/heads/main'
44+
if: github.ref == 'refs/heads/main'
4545
steps:
4646
- uses: actions/checkout@v3
4747
with:
@@ -50,12 +50,14 @@ jobs:
5050
uses: actions/setup-node@v3
5151
with:
5252
node-version: 16
53+
- name: Install Dependencies
5354
run: npm ci
54-
- name: Release
55-
uses: actions/download-artifact@master
55+
- name: Download Artifacts
56+
uses: actions/download-artifact@v3
5657
with:
5758
name: bundle
5859
path: pkg
60+
- name: Release
5961
env:
6062
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6163
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)