mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2024-11-21 20:09:48 -05:00
fix(cd): switch to upload-release-action
for uploading releases
This commit is contained in:
parent
6d29828a4b
commit
989693140b
1 changed files with 6 additions and 6 deletions
12
.github/workflows/cd.yml
vendored
12
.github/workflows/cd.yml
vendored
|
@ -44,13 +44,13 @@ jobs:
|
||||||
sha512sum rustypaste-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz \
|
sha512sum rustypaste-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz \
|
||||||
> rustypaste-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz.sha512
|
> rustypaste-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz.sha512
|
||||||
- name: Upload the release
|
- name: Upload the release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
files: |
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
rustypaste-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz
|
file: rustypaste-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz*
|
||||||
rustypaste-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.tar.gz.sha512
|
file_glob: true
|
||||||
env:
|
overwrite: true
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
tag: ${{ github.ref }}
|
||||||
|
|
||||||
publish-crates-io:
|
publish-crates-io:
|
||||||
name: Publish on crates.io
|
name: Publish on crates.io
|
||||||
|
|
Loading…
Reference in a new issue