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
+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 \