1
0
forked from IPKM/nmreval

added GO_PIPELINE_LABEL to workflow

This commit is contained in:
Markus Rosenstihl 2023-12-06 14:29:36 +01:00
parent 94fc92fb56
commit 98c9354883

View File

@ -13,18 +13,24 @@ jobs:
uses: actions/checkout@v3
- 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: |
apt-get -y install python3-yaml python3-requests
- name: Update version info
run: ./tools/update_version.py
env:
GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }}
- name: Prepare GPG
run: /usr/lib/gnupg/gpg-preset-passphrase --preset --passphrase ${GPG_PASSPHRASE} ${GPG_KEYGRIP}
- name: Build AppImage
run: ./tools/build.sh
env:
GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_KEYGRIP: ${{ env.GPG_KEYGRIP }}
- name: Upload AppImage
run: ./tools/upload_gitea.sh
env:
GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }}
UPLOAD_TOKEN: ${{ env.GITEA_TOKEN }}
UPLOAD_USER: ${{ env.GITEA_USER }}
- run: echo "🍏 This job's status is ${{ job.status }}."