run on tag + remove unused sqlite
This commit is contained in:
parent
aef259c17a
commit
352ee74100
|
@ -1,4 +1,8 @@
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-forgejo-deb:
|
build-forgejo-deb:
|
||||||
runs-on: bookworm
|
runs-on: bookworm
|
||||||
|
@ -48,11 +52,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
TAGS: bindata
|
TAGS: bindata
|
||||||
|
|
||||||
- name: Build Forgejo (with SQLite) for arm64
|
|
||||||
run: ./.ci-make.sh submodule-build forgejo forgejo-sqlite-bin
|
|
||||||
env:
|
|
||||||
TAGS: bindata sqlite sqlite_unlock_notify
|
|
||||||
|
|
||||||
- run: ./.ci-make.sh package-prep
|
- run: ./.ci-make.sh package-prep
|
||||||
- run: ./.ci-make.sh package-build-deps
|
- run: ./.ci-make.sh package-build-deps
|
||||||
|
|
||||||
|
@ -65,8 +64,6 @@ jobs:
|
||||||
./.ci-make.sh pkg-gen-sha256
|
./.ci-make.sh pkg-gen-sha256
|
||||||
./.ci-make.sh preview-sha256
|
./.ci-make.sh preview-sha256
|
||||||
|
|
||||||
- run: ./.ci-make.sh install-run-test ./forgejo-sqlite_*_arm64.deb
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: forgejo-deb-${{ steps.ciprep.outputs.artifactlabel }}
|
name: forgejo-deb-${{ steps.ciprep.outputs.artifactlabel }}
|
||||||
|
@ -74,21 +71,6 @@ jobs:
|
||||||
*.deb
|
*.deb
|
||||||
*.deb.sha256
|
*.deb.sha256
|
||||||
|
|
||||||
installtest-bookworm-sqlite:
|
|
||||||
runs-on: bookworm
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: "actions prep: installtest"
|
|
||||||
id: ciprep
|
|
||||||
run: ./.ci-make.sh actions-prep installtest
|
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
|
||||||
with:
|
|
||||||
name: forgejo-deb-${{ steps.ciprep.outputs.artifactlabel }}
|
|
||||||
|
|
||||||
- run: ./.ci-make.sh install-run-test ./forgejo-sqlite_*_arm64.deb
|
|
||||||
|
|
||||||
installtest-bookworm-user:
|
installtest-bookworm-user:
|
||||||
runs-on: bookworm
|
runs-on: bookworm
|
||||||
steps:
|
steps:
|
||||||
|
@ -107,7 +89,6 @@ jobs:
|
||||||
|
|
||||||
publish-release-repo:
|
publish-release-repo:
|
||||||
runs-on: bookworm
|
runs-on: bookworm
|
||||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue