From 7eb970f130752cbc5448808aa50b5947234457f4 Mon Sep 17 00:00:00 2001 From: dadevel Date: Sun, 14 Jul 2024 13:03:35 +0200 Subject: [PATCH] ci: deploy repo even with failed package builds --- .github/workflows/ci.yaml | 18 ++++++++++++++++++ generate-workflow.py | 1 + 2 files changed, 19 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 23b6c51c..ba83b313 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -90,7 +90,9 @@ jobs: - package-subfinder - package-tlsx - package-trevorspray + - package-typo3scan - package-wg-netns + if: ${{ always() }} concurrency: ci-${{ github.ref }} steps: - name: Checkout @@ -1200,6 +1202,22 @@ jobs: path: ./trevorspray/*.pkg.tar.zst retention-days: 1 if-no-files-found: error + package-typo3scan: + runs-on: ubuntu-24.04 + needs: + - build-container + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build package + run: ./build-package.sh typo3scan + - name: Upload package + uses: actions/upload-artifact@v4 + with: + name: package-typo3scan + path: ./typo3scan/*.pkg.tar.zst + retention-days: 1 + if-no-files-found: error package-wg-netns: runs-on: ubuntu-24.04 needs: diff --git a/generate-workflow.py b/generate-workflow.py index 51b03e77..97fe300f 100755 --- a/generate-workflow.py +++ b/generate-workflow.py @@ -86,6 +86,7 @@ def generate_deploy_job(packages: list[str]) -> dict[str, Any]: return { 'runs-on': RUNNER_OS, 'needs': [f'package-{name}' for name in packages], + 'if': '${{ always() }}', 'concurrency': 'ci-${{ github.ref }}', 'steps': [ {