Skip to content

Commit

Permalink
fix(cd): switch to upload-release-action for uploading releases
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Aug 9, 2021
1 parent 6d29828 commit 9896931
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ jobs:
sha512sum rustypaste-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz \
> rustypaste-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz.sha512
- name: Upload the release
uses: softprops/action-gh-release@v1
uses: svenstaro/upload-release-action@v2
with:
files: |
rustypaste-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz
rustypaste-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz.sha512
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: rustypaste-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz*
file_glob: true
overwrite: true
tag: ${{ github.ref }}

publish-crates-io:
name: Publish on crates.io
Expand Down

0 comments on commit 9896931

Please sign in to comment.