Skip to content

Commit

Permalink
Added proper release information handling for uploading the vsix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bioblaze committed Dec 19, 2024
1 parent 6f60011 commit e46c6ca
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,24 @@ jobs:
name: blazium-anko-extension-vsix

- name: Create GitHub Release
uses: actions/create-release@v1
id: createRelease
uses: actions/create-release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ needs.build.outputs.version }}
release_name: Blazium Anko Extension v${{ needs.build.outputs.version }}
draft: false
prerelease: false
files: dist/blazium-anko-extension-${{ needs.build.outputs.version }}.vsix

- name: Upload Release Asset
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.createRelease.outputs.upload_url }}
asset_path: ${{ github.workspace }}/dist/blazium-anko-extension-${{ needs.build.outputs.version }}.vsix
asset_name: blazium-anko-extension-${{ needs.build.outputs.version }}.vsix
asset_content_type: application/octet-stream


0 comments on commit e46c6ca

Please sign in to comment.