Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
huytd authored Mar 21, 2023
1 parent 5ce77d6 commit a3aa3bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ jobs:
zip -r ASCII-d.zip "ASCII-d.app"
- name: Create Release
id: create_release
uses: actions/create-release@v1
uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
generateReleaseNotes: true
draft: false
prerelease: false
- name: Upload release asset
Expand All @@ -44,6 +45,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./ASCII-d.zip
asset_path: target/release/bundle/osx/ASCII-d.zip
asset_name: ASCII-d.zip
asset_content_type: application/zip

0 comments on commit a3aa3bd

Please sign in to comment.