diff --git a/.forgejo/workflows/forgejo-deb.yml b/.forgejo/workflows/forgejo-deb.yml index 239734f..c5fd7e8 100644 --- a/.forgejo/workflows/forgejo-deb.yml +++ b/.forgejo/workflows/forgejo-deb.yml @@ -1,19 +1,5 @@ on: [push, pull_request] jobs: - mirror: - runs-on: bookworm - if: github.event_name == 'push' && github.repository == 'forgejo-contrib/forgejo-deb' - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: "mirror repo: code.forgejo.org" - env: - FORGEJO_DEST: code.forgejo.org - FORGEJO_KEY: ${{ secrets.cfo_api_key }} - run: ./.action-forgejo-mirror.sh - build-forgejo-deb: runs-on: bullseye steps: @@ -49,7 +35,7 @@ jobs: git update-ref refs/heads/tag_test $(git rev-parse --verify HEAD) - run: ./.ci-make.sh submodule-make forgejo security-check - + - run: ./.ci-make.sh submodule-make forgejo frontend - run: ./.ci-make.sh submodule-make forgejo checks-backend @@ -96,7 +82,7 @@ jobs: runs-on: bookworm steps: - uses: actions/checkout@v4 - + - name: "actions prep: installtest" id: ciprep run: ./.ci-make.sh actions-prep installtest @@ -115,7 +101,7 @@ jobs: - 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 }} @@ -126,7 +112,7 @@ jobs: runs-on: buster steps: - uses: actions/checkout@v4 - + - name: "actions prep: installtest" id: ciprep run: ./.ci-make.sh actions-prep installtest @@ -203,7 +189,7 @@ jobs: - uses: crystal/install-jq-action@v2.1.0 - run: mkdir forgejo-release - run: mv *.deb *.deb.sha256 forgejo-release/ - + - uses: actions/forgejo-release@v1 with: direction: upload