Skip to content

Commit

Permalink
ci: deploy repo even with failed package builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dadevel committed Jul 14, 2024
1 parent 8adfd93 commit 7eb970f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions generate-workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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': [
{
Expand Down

0 comments on commit 7eb970f

Please sign in to comment.