Skip to content

Commit d9df42e

Browse files
authored
ci: fix pre-release workflow (#166)
1 parent 85063c2 commit d9df42e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/prerelease.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@ jobs:
1818

1919
- uses: actions/setup-node@v3
2020
with:
21-
node-version: '14'
21+
node-version: latest
2222

2323
- run: yarn install --frozen-lockfile
2424

2525
- name: Update binaries
2626
run: |
2727
./download-binaries.sh ${{ github.event.inputs.version }}
2828
29-
- name: Update version number
30-
run: yarn run bump ${{ github.event.inputs.version }}
31-
3229
- name: Package VSCode extension
3330
run: yarn run vsce package
3431

32+
- name: Rename packaged VSIX file
33+
run: mv sourcery-*.vsix sourcery-${{ github.event.inputs.version }}.vsix
34+
3535
- name: Upload archive
3636
uses: actions/upload-artifact@v3
3737
with:
@@ -54,6 +54,7 @@ jobs:
5454
with:
5555
status: ${{ job.status }}
5656
text: Publish VS Code extension pre-release v${{ github.event.inputs.version }} - ${{ job.status }}
57+
fields: repo,commit,workflow,job
5758
env:
5859
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_RELEASES_WEBHOOK_URL }}
5960
if: always()

0 commit comments

Comments
 (0)