1
0
forked from IPKM/nmreval

condensed build steps in workflow

This commit is contained in:
Markus Rosenstihl 2023-12-06 15:28:26 +01:00
parent 53349d7764
commit 223ddd4cda

View File

@ -16,19 +16,16 @@ jobs:
- run: |
apt-get -y update
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
- name: Build AppImage
run: |
eval $(gpg-agent --daemon --allow-preset-passphrase --default-cache-ttl 1 --max-cache-ttl 7200)
/usr/lib/gnupg/gpg-preset-passphrase --preset --passphrase ${GPG_PASSPHRASE} ${GPG_KEYGRIP}
./tools/update_version.py
./tools/build.sh
env:
GPG_KEYGRIP: ${{ vars.GPG_KEYGRIP }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Build AppImage
run: ./tools/build.sh
GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }}
- name: Upload AppImage
run: |
ls