Skip to content

Commit bc6bc80

Browse files
committed
fix(ci): bump action versions to v6 and pre-create dist dir
actions/checkout and actions/setup-node updated from v4 to v6. Added `mkdir dist` before pack.sh runs since the script expects the output directory to already exist.
1 parent 92bb684 commit bc6bc80

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
release:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222
with:
2323
fetch-depth: 0
2424

25-
- uses: actions/setup-node@v4
25+
- uses: actions/setup-node@v6
2626
with:
2727
node-version: 20
2828
cache: npm
@@ -31,7 +31,7 @@ jobs:
3131
run: npm ci --legacy-peer-deps
3232

3333
- name: Build tarball
34-
run: bash scripts/pack.sh -o dist --name viktorani-${{ github.ref_name }}
34+
run: mkdir dist && bash scripts/pack.sh -o dist --name viktorani-${{ github.ref_name }}
3535

3636
- name: Create GitHub Release
3737
run: |

0 commit comments

Comments
 (0)