fix workflow for me
Some checks are pending
/ build-forgejo-deb (push) Waiting to run
/ installtest-bookworm-sqlite (push) Waiting to run
/ installtest-bookworm-user (push) Waiting to run
/ testsuite-repo-upgrade-sqlite (push) Waiting to run
/ installtest-buster-bin (push) Waiting to run
/ publish-release-repo (push) Waiting to run
Some checks are pending
/ build-forgejo-deb (push) Waiting to run
/ installtest-bookworm-sqlite (push) Waiting to run
/ installtest-bookworm-user (push) Waiting to run
/ testsuite-repo-upgrade-sqlite (push) Waiting to run
/ installtest-buster-bin (push) Waiting to run
/ publish-release-repo (push) Waiting to run
This commit is contained in:
parent
1f46e59334
commit
c9e6827093
|
@ -1,7 +1,7 @@
|
|||
on: [push, pull_request]
|
||||
jobs:
|
||||
build-forgejo-deb:
|
||||
runs-on: bullseye
|
||||
runs-on: docker://bookworm
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
@ -81,37 +81,7 @@ jobs:
|
|||
repo-deb/*.deb
|
||||
|
||||
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-bullseye-sqlite:
|
||||
runs-on: bullseye
|
||||
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-buster-sqlite:
|
||||
runs-on: buster
|
||||
runs-on: docker://bookworm
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -126,7 +96,7 @@ jobs:
|
|||
- run: ./.ci-make.sh install-run-test ./forgejo-sqlite_*_arm64.deb
|
||||
|
||||
installtest-bookworm-user:
|
||||
runs-on: bookworm
|
||||
runs-on: docker://bookworm
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -142,7 +112,7 @@ jobs:
|
|||
- run: ./.ci-make.sh install-run-test ./forgejo_*_arm64.deb
|
||||
|
||||
testsuite-repo-upgrade-sqlite:
|
||||
runs-on: bookworm
|
||||
runs-on: docker://bookworm
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -160,7 +130,7 @@ jobs:
|
|||
- run: ./.ci-make.sh verify-data-dir-chmod
|
||||
|
||||
installtest-buster-bin:
|
||||
runs-on: buster
|
||||
runs-on: docker://buster
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -175,8 +145,8 @@ jobs:
|
|||
- run: ./.ci-make.sh install-run-test ./forgejo-bin_*_arm64.deb
|
||||
|
||||
publish-release-repo:
|
||||
runs-on: bookworm
|
||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && github.repository == 'forgejo-contrib/forgejo-deb'
|
||||
runs-on: docker://bookworm
|
||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -195,24 +165,17 @@ jobs:
|
|||
- uses: actions/forgejo-release@v1
|
||||
with:
|
||||
direction: upload
|
||||
url: https://codeberg.org
|
||||
token: ${{ secrets.codeberg_api_key }}
|
||||
release-dir: forgejo-release
|
||||
|
||||
- uses: actions/forgejo-release@v1
|
||||
with:
|
||||
direction: upload
|
||||
url: https://code.forgejo.org
|
||||
token: ${{ secrets.cfo_api_key }}
|
||||
url: https://git.alexjanka.com
|
||||
token: ${{ secrets.PACKAGING_TOKEN }}
|
||||
release-dir: forgejo-release
|
||||
|
||||
- name: Debian package registry publish
|
||||
env:
|
||||
FORGEJO_SITE: https://code.forgejo.org
|
||||
FORGEJO_OWNER: forgejo-contrib
|
||||
DEBIAN_DIST: bullseye
|
||||
DEBIAN_COMPONENT: forgejo-lts
|
||||
FORGEJO_KEY: ${{ secrets.cfo_api_key }}
|
||||
FORGEJO_SITE: https://git.alexjanka.com
|
||||
FORGEJO_OWNER: alex
|
||||
DEBIAN_DIST: testing
|
||||
DEBIAN_COMPONENT: forgejo
|
||||
FORGEJO_KEY: ${{ secrets.PACKAGING_TOKEN }}
|
||||
run: |
|
||||
cd forgejo-release
|
||||
../.ci-forgejo-apt.sh *.deb
|
||||
|
|
Loading…
Reference in a new issue