test bookworm
All checks were successful
Build AppImage / Explore-Gitea-Actions (push) Successful in 1m56s
All checks were successful
Build AppImage / Explore-Gitea-Actions (push) Successful in 1m56s
This commit is contained in:
parent
c2dc4cc6b8
commit
06dcba1fa5
38
.gitea/workflows/build-appimage-bookworm.yaml
Normal file
38
.gitea/workflows/build-appimage-bookworm.yaml
Normal file
@ -0,0 +1,38 @@
|
||||
name: Build AppImage
|
||||
run-name: ${{ gitea.actor }} is building THE AppImage 🚀 # a lot of excitement for this build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- build
|
||||
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: bookworm
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- run: |
|
||||
apt-get -y update
|
||||
apt-get -y install python3-yaml python3-requests
|
||||
- name: Declare some variables
|
||||
shell: bash
|
||||
run: |
|
||||
echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
||||
echo "YEAR=$(date +%Y)" >> $GITHUB_ENV
|
||||
- name: Build AppImage
|
||||
run: |
|
||||
echo $GO_PIPELINE_LABEL
|
||||
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 }}
|
||||
GO_PIPELINE_LABEL: ${{ env.YEAR }}.${{ gitea.run_number }}_${{ env.SHA_SHORT }}_bookworm
|
||||
- name: Upload AppImage
|
||||
run: ./tools/upload_gitea.sh
|
||||
env:
|
||||
GO_PIPELINE_LABEL: ${{ env.YEAR }}.${{ gitea.run_number }}_${{ env.SHA_SHORT }}_bookworm
|
||||
UPLOAD_TOKEN: ${{ secrets.UPLOAD_TOKEN }}
|
||||
UPLOAD_USER: ${{ vars.UPLOAD_USER }}
|
@ -13,7 +13,7 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
- run: |
|
||||
apt-get -y update
|
||||
apt-get -y install python3-yaml python3-requests bash
|
||||
apt-get -y install python3-yaml python3-requests
|
||||
- name: Declare some variables
|
||||
shell: bash
|
||||
run: |
|
||||
@ -29,10 +29,10 @@ jobs:
|
||||
env:
|
||||
GPG_KEYGRIP: ${{ vars.GPG_KEYGRIP }}
|
||||
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
||||
GO_PIPELINE_LABEL: ${{ env.YEAR }}.${{ gitea.run_number }}_${{ env.SHA_SHORT }}
|
||||
GO_PIPELINE_LABEL: ${{ env.YEAR }}.${{ gitea.run_number }}_${{ env.SHA_SHORT }}_bullseye
|
||||
- name: Upload AppImage
|
||||
run: ./tools/upload_gitea.sh
|
||||
env:
|
||||
GO_PIPELINE_LABEL: ${{ env.YEAR }}.${{ gitea.run_number }}_${{ env.SHA_SHORT }}
|
||||
GO_PIPELINE_LABEL: ${{ env.YEAR }}.${{ gitea.run_number }}_${{ env.SHA_SHORT }}_bullseye
|
||||
UPLOAD_TOKEN: ${{ secrets.UPLOAD_TOKEN }}
|
||||
UPLOAD_USER: ${{ vars.UPLOAD_USER }}
|
||||
|
Loading…
Reference in New Issue
Block a user