Skip to content

Commit

Permalink
chore: Update file upload step in CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Aug 11, 2021
1 parent d3ce5f2 commit 8579eae
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,16 @@ jobs:
--passphrase-fd 0 --detach-sign \
kmon-${{env.RELEASE_VERSION}}-${{matrix.TARGET}}.tar.gz
- name: Upload assets
uses: softprops/action-gh-release@v1
uses: svenstaro/upload-release-action@v2
with:
files: |
kmon-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz
kmon-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz.sig
kmon-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz.sha512
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: kmon-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz*
file_glob: true
overwrite: true
tag: ${{ github.ref }}
body: |
<a href="https://github.com/orhun/kmon"><img src="https://user-images.githubusercontent.com/24392180/73918056-d5c45500-48d1-11ea-8d18-9943827ab2ed.png" width="400"></a>
See [**changelog**](CHANGELOG.md) for release notes.
publish-crates-io:
name: Publish on crates.io
Expand Down

0 comments on commit 8579eae

Please sign in to comment.