Skip to content

Commit

Permalink
upload release
Browse files Browse the repository at this point in the history
  • Loading branch information
francovaro committed Feb 1, 2024
1 parent 6e54898 commit b7295ec
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,21 @@ jobs:
gen-pack-script: ./gen_pack.sh
gen-pack-output: ./output

- uses: actions/create-release@v1
- name: Create Release
id: create_release
uses: actions/[email protected]
if: github.event_name == 'release'
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body: ${{ github.event.release.body }}
draft: false
prerelease: false

- name: Upload release asset
id: upload-release-asset
uses: actions/[email protected]
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./output/*.pack
asset_name: ${{ github.ref }}.pack
asset_content_type: application/zip

0 comments on commit b7295ec

Please sign in to comment.