fix(cd): switch to `upload-release-action` for uploading releases

This commit is contained in:
orhun 2021-08-10 00:00:14 +03:00
parent 6d29828a4b
commit 989693140b
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90
1 changed files with 6 additions and 6 deletions

View File

@ -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