1
0
forked from IPKM/nmreval

workflow fixes

This commit is contained in:
Markus Rosenstihl 2023-12-06 14:16:48 +01:00
parent 7e3541806b
commit 94fc92fb56

View File

@ -14,18 +14,16 @@ jobs:
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: Update version info - name: Update version info
run: | run: ./tools/update_version.py
./${{ gitea.workspace }}/tools/update_version.py
- name: Prepare GPG - name: Prepare GPG
run: | run: /usr/lib/gnupg/gpg-preset-passphrase --preset --passphrase ${GPG_PASSPHRASE} ${GPG_KEYGRIP}
/usr/lib/gnupg/gpg-preset-passphrase --preset --passphrase ${GPG_PASSPHRASE} ${GPG_KEYGRIP}
- name: Build AppImage - name: Build AppImage
run: ./${{ gitea.workspace }}/tools/build.sh run: ./tools/build.sh
env: env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_KEYGRIP: ${{ env.GPG_KEYGRIP }} GPG_KEYGRIP: ${{ env.GPG_KEYGRIP }}
- name: Upload AppImage - name: Upload AppImage
run: ./{{ gitea.workspace }}/tools/upload_gitea.sh run: ./tools/upload_gitea.sh
env: env:
UPLOAD_TOKEN: ${{ env.GITEA_TOKEN }} UPLOAD_TOKEN: ${{ env.GITEA_TOKEN }}
UPLOAD_USER: ${{ env.GITEA_USER }} UPLOAD_USER: ${{ env.GITEA_USER }}