Skip to content

Commit cc7f396

Browse files
authored
ci:(pre-release): fix broken artifact downloading (#1774)
1 parent 898969c commit cc7f396

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/pre-release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ jobs:
4343
- name: Download artifacts
4444
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
4545
with:
46-
pattern: "${{ env.VSIX_FILE }}"
46+
name: "${{ env.VSIX_FILE }}"
4747
path: "artifacts/"
4848
- name: Create or update pre-release
4949
run: |
5050
gh release delete latest --yes || true
5151
git tag -d latest || true
5252
git tag latest
5353
git push origin latest --force
54-
gh release create latest artifacts/${{ env.VSIX_FILE }}/${{ env.VSIX_FILE }} \
54+
gh release create latest artifacts/${{ env.VSIX_FILE }} \
5555
--title "Development Build" \
5656
--notes "Contains the vsix-file from the latest push to main." \
5757
--prerelease

0 commit comments

Comments
 (0)