nmreval/.gitea/workflows/build-appimage.yaml
Markus Rosenstihl c157ebb0f9
Some checks failed
Build AppImage / Explore-Gitea-Actions (push) Failing after 11s
force a start of gpg-agent
2023-12-06 14:50:38 +01:00

39 lines
1.7 KiB
YAML

name: Build AppImage
run-name: ${{ gitea.actor }} is building THE AppImage 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: bullseye
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
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 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
run: |
gpg-connect-agent -q 'keyinfo --list' /bye
/usr/lib/gnupg/gpg-preset-passphrase --preset --passphrase ${GPG_PASSPHRASE} ${GPG_KEYGRIP}
env:
GPG_KEYGRIP: ${{ vars.GPG_KEYGRIP }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Build AppImage
run: ./tools/build.sh
- name: Upload AppImage
run: ./tools/upload_gitea.sh
env:
GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }}
UPLOAD_TOKEN: ${{ vars.GITEA_TOKEN }}
UPLOAD_USER: ${{ vars.GITEA_USER }}
- run: echo "🍏 This job's status is ${{ job.status }}."