Update .gitea/workflows/release.yml

This commit is contained in:
Blue 2023-10-10 23:09:25 +00:00
parent 633d08fd4b
commit e6068b1837

View File

@ -9,7 +9,7 @@ jobs:
runs-on: archlinux runs-on: archlinux
steps: steps:
- name: Download the release tarball - name: Download the release tarball
uses: curl -sL "${{ gitea.server_url }}/${{ gitea.repository }}/archive/${{ gitea.event.release.tag_name }}.tar.gz" --output tarball.tar.gz run: curl -sL ${{ gitea.server_url }}/${{ gitea.repository }}/archive/${{ gitea.event.release.tag_name }}.tar.gz --output tarball.tar.gz
- name: Calculate SHA256 for the tarball - name: Calculate SHA256 for the tarball
run: echo "tbSum=$(echo sha256sum tarball.tar.gz | cut -d " " -f 1" >> $GITHUB_ENV run: echo "tbSum=$(echo sha256sum tarball.tar.gz | cut -d " " -f 1" >> $GITHUB_ENV