This commit is contained in:
parent
e804ac563c
commit
48a5b6d53f
2 changed files with 6 additions and 127 deletions
11
action.yml
11
action.yml
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue