Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Aelto committed Jul 15, 2022
2 parents 8ac00ed + 0797fb7 commit ab25b12
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,13 @@ jobs:
uses: papeloto/action-zip@v1
with:
files: 'target/${{ matrix.target }}/release/${{ matrix.output }}'
dest: 'cahirc.zip'
- name: Create draft release
uses: ncipollo/release-action@v1
dest: 'cahirc-${{ matrix.target }}.zip'
# REF: https://github.com/marketplace/actions/gh-release
- name: Publish Archive
uses: softprops/action-gh-release@v1
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
artifacts: 'cahirc.zip'
draft: true
generateReleaseNotes: true
files: 'cahirc-${{ matrix.target }}.zip'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ab25b12

Please sign in to comment.