1
0
Fork 0

Fixes
All checks were successful
CI / build-deb (push) Successful in 3m31s

This commit is contained in:
Miguel Jacq 2025-12-09 16:19:46 +11:00
parent e804ac563c
commit 48a5b6d53f
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
2 changed files with 6 additions and 127 deletions

View file

@ -35,9 +35,10 @@ runs:
shell: bash
env:
TZ: ${{ inputs.tz }}
DEBIAN_FRONTEND: noninteractive
PHP_VER: ${{ inputs.php-version }}
run: |
set -euo pipefail
# scripts/ lives in the repo; when used as a local action, this path is correct
./scripts/setup-php-sources.sh
- name: Install PHP build-deps
@ -72,7 +73,7 @@ runs:
SQLCIPHER_VERSION: ${{ inputs.sqlcipher-version }}
run: |
set -euo pipefail
cd "$GITHUB_WORKSPACE"
cd "$FORGEJO_WORKSPACE"
# match Dockerfile layout in /work/src
git clone --branch "v${SQLCIPHER_VERSION}" --depth 1 \
@ -92,7 +93,7 @@ runs:
SQLCIPHER_VERSION: ${{ inputs.sqlcipher-version }}
run: |
set -euo pipefail
cd "$GITHUB_WORKSPACE"
cd "$FORGEJO_WORKSPACE"
umask 022
./scripts/render-debian-files.sh
@ -106,7 +107,7 @@ runs:
shell: bash
run: |
set -euo pipefail
cd "$GITHUB_WORKSPACE"
cd "$FORGEJO_WORKSPACE"
pkg=$(ls -1 ../*.deb | grep -v dbgsym | head -n1)
echo "Testing package: $pkg"
@ -116,7 +117,7 @@ runs:
shell: bash
run: |
set -euo pipefail
cd "$GITHUB_WORKSPACE"
cd "$FORGEJO_WORKSPACE"
mkdir -p dist
cp -a ../*.deb ../*.buildinfo ../*.changes dist/ || true