From 3272b5aef8be46787a3c667009302482e345a66a Mon Sep 17 00:00:00 2001 From: PandaDEV <70103896+0PandaDEV@users.noreply.github.com> Date: Tue, 12 Nov 2024 12:03:57 +1000 Subject: [PATCH] feat: indipendent fail --- .github/workflows/publish.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index aff1b2d..f69a7cc 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -25,6 +25,10 @@ jobs: contents: read packages: write runs-on: ubuntu-latest + continue-on-error: true # Allow this job to fail without stopping others + outputs: + success: ${{ steps.build.outcome == 'success' }} + version: ${{ steps.set_version.outputs.VERSION }} steps: - name: Checkout code uses: actions/checkout@v4 @@ -55,6 +59,7 @@ jobs: fi - name: Build and push AMD64 + id: build uses: docker/build-push-action@v6 with: context: . @@ -69,6 +74,10 @@ jobs: contents: read packages: write runs-on: ubuntu-latest + continue-on-error: true # Allow this job to fail without stopping others + outputs: + success: ${{ steps.build.outcome == 'success' }} + version: ${{ steps.set_version.outputs.VERSION }} steps: - name: Checkout code uses: actions/checkout@v4 @@ -102,6 +111,7 @@ jobs: fi - name: Build and push ARM64 + id: build uses: docker/build-push-action@v6 with: context: .