fix workflow for me
This commit is contained in:
parent
7bb821c4f6
commit
2c58436bbf
|
@ -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:
|
||||
|
@ -79,37 +79,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
|
||||
|
||||
|
@ -124,7 +94,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
|
||||
|
||||
|
@ -140,7 +110,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
|
||||
|
||||
|
@ -158,7 +128,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
|
||||
|
||||
|
@ -173,8 +143,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
|
||||
|
||||
|
@ -193,24 +163,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