Skip to content

Commit 722e939

Browse files
authored
Update main.yml
1 parent b9eb603 commit 722e939

File tree

1 file changed

+4
-20
lines changed

1 file changed

+4
-20
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,8 @@ jobs:
2929
run: vsce package
3030
working-directory: nucleo-debugger
3131

32-
- name: Create Release
33-
id: create_release
34-
uses: actions/create-release@v1
35-
env:
36-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
32+
- name: Upload VSIX package
33+
uses: actions/upload-artifact@v2
3734
with:
38-
tag_name: ${{ github.ref }}
39-
release_name: Release ${{ github.ref }}
40-
draft: false
41-
prerelease: false
42-
43-
- name: Upload Release Asset
44-
id: upload-release-asset
45-
uses: actions/upload-release-asset@v1
46-
env:
47-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48-
with:
49-
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
50-
asset_path: ./nucleo-debugger/*.vsix
51-
asset_name: nucleo-debugger.vsix
52-
asset_content_type: application/octet-stream
35+
name: my-extension.vsix
36+
path: nucleo-debugger/*.vsix

0 commit comments

Comments
 (0)