run on tag + remove unused sqlite
Some checks failed
/ build-forgejo-deb (push) Has started running
/ installtest-bookworm-user (push) Has started running
/ publish-release-repo (push) Has been cancelled

This commit is contained in:
Alex Janka 2024-06-15 13:02:06 +10:00
parent aef259c17a
commit 352ee74100

View file

@ -1,4 +1,8 @@
on: [push, pull_request]
on:
push:
tags:
- "*"
jobs:
build-forgejo-deb:
runs-on: bookworm
@ -48,11 +52,6 @@ jobs:
env:
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-build-deps
@ -65,8 +64,6 @@ jobs:
./.ci-make.sh pkg-gen-sha256
./.ci-make.sh preview-sha256
- run: ./.ci-make.sh install-run-test ./forgejo-sqlite_*_arm64.deb
- uses: actions/upload-artifact@v3
with:
name: forgejo-deb-${{ steps.ciprep.outputs.artifactlabel }}
@ -74,21 +71,6 @@ jobs:
*.deb
*.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:
runs-on: bookworm
steps:
@ -107,7 +89,6 @@ jobs:
publish-release-repo:
runs-on: bookworm
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v4