forked from IPKM/nmreval
condensed build steps in workflow
This commit is contained in:
parent
53349d7764
commit
223ddd4cda
@ -16,19 +16,16 @@ jobs:
|
|||||||
- run: |
|
- run: |
|
||||||
apt-get -y update
|
apt-get -y update
|
||||||
apt-get -y install python3-yaml python3-requests
|
apt-get -y install python3-yaml python3-requests
|
||||||
- name: Update version info
|
- name: Build AppImage
|
||||||
run: ./tools/update_version.py
|
|
||||||
env:
|
|
||||||
GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }}
|
|
||||||
- name: Prepare GPG
|
|
||||||
run: |
|
run: |
|
||||||
eval $(gpg-agent --daemon --allow-preset-passphrase --default-cache-ttl 1 --max-cache-ttl 7200)
|
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}
|
/usr/lib/gnupg/gpg-preset-passphrase --preset --passphrase ${GPG_PASSPHRASE} ${GPG_KEYGRIP}
|
||||||
|
./tools/update_version.py
|
||||||
|
./tools/build.sh
|
||||||
env:
|
env:
|
||||||
GPG_KEYGRIP: ${{ vars.GPG_KEYGRIP }}
|
GPG_KEYGRIP: ${{ vars.GPG_KEYGRIP }}
|
||||||
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
||||||
- name: Build AppImage
|
GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }}
|
||||||
run: ./tools/build.sh
|
|
||||||
- name: Upload AppImage
|
- name: Upload AppImage
|
||||||
run: |
|
run: |
|
||||||
ls
|
ls
|
||||||
|
Loading…
Reference in New Issue
Block a user