Fixed a Build Issue
Build Android Apk / android (release) Successful in 11m6s
Build Linux Application / linux (release) Successful in 4m41s
Publish Docker Image / docker (release) Successful in 13m46s

This commit is contained in:
2026-09-07 12:49:02 +02:00
parent d87eabfd2a
commit ea5e5592a8
3 changed files with 17 additions and 8 deletions
+9 -5
View File
@@ -91,7 +91,10 @@ jobs:
KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }}
KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD }}
run: |
set -euo pipefail
# The act-runner executes `run` with sh (dash), not bash, so this
# script has to stay posix - `set -o pipefail` for example dies
# with "Illegal option -o pipefail" before anything else runs.
set -eu
# Failing here is on purpose: a silently debug signed apk would be
# installable once and never updatable afterwards.
@@ -120,7 +123,7 @@ jobs:
# must never go backwards.
- name: Build the apk
run: |
set -euo pipefail
set -eu
version="${{ github.ref_name }}"
version="${version#v}"
@@ -158,7 +161,7 @@ jobs:
# access in a secret and use that instead.
TOKEN: ${{ github.token }}
run: |
set -euo pipefail
set -eu
api="${{ github.server_url }}/api/v1/repos/${{ github.repository }}"
asset="ac_web-${{ github.ref_name }}.apk"
@@ -167,8 +170,9 @@ jobs:
# for a manual re-run of the job.
releaseId="${{ github.event.release.id }}"
if [ -z "$releaseId" ] || [ "$releaseId" = "null" ]; then
releaseId=$(curl -fsSL -H "Authorization: token $TOKEN" \
"$api/releases/tags/${{ github.ref_name }}" | jq -r '.id')
release=$(curl -fsSL -H "Authorization: token $TOKEN" \
"$api/releases/tags/${{ github.ref_name }}")
releaseId=$(printf '%s' "$release" | jq -r '.id')
fi
curl -fsSL -X POST \
+7 -3
View File
@@ -82,7 +82,10 @@ jobs:
# access in a secret and use that instead.
TOKEN: ${{ github.token }}
run: |
set -euo pipefail
# The act-runner executes `run` with sh (dash), not bash, so this
# script has to stay posix - `set -o pipefail` for example dies
# with "Illegal option -o pipefail" before anything else runs.
set -eu
api="${{ github.server_url }}/api/v1/repos/${{ github.repository }}"
asset="ac_web-linux-x64-${{ github.ref_name }}.tar.gz"
@@ -91,8 +94,9 @@ jobs:
# for a manual re-run of the job.
releaseId="${{ github.event.release.id }}"
if [ -z "$releaseId" ] || [ "$releaseId" = "null" ]; then
releaseId=$(curl -fsSL -H "Authorization: token $TOKEN" \
"$api/releases/tags/${{ github.ref_name }}" | jq -r '.id')
release=$(curl -fsSL -H "Authorization: token $TOKEN" \
"$api/releases/tags/${{ github.ref_name }}")
releaseId=$(printf '%s' "$release" | jq -r '.id')
fi
curl -fsSL -X POST \