Skip to content

Commit

Permalink
gha: Continue after first build fails
Browse files Browse the repository at this point in the history
  • Loading branch information
TSRBerry committed Oct 24, 2022
1 parent cd43ed9 commit 1de7a7d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ jobs:
uses: hendrikmuhs/[email protected]

- name: Build
id: build
run: make -j8 PREFIX="ccache aarch64-none-elf-"
continue-on-error: true

- name: Install libnx master & Retry build
if: ${{ failure() }}
id: retry
if: ${{ steps.build.outcome == 'failure' }}
run: |
pushd /tmp
git clone https://github.com/switchbrew/libnx
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ jobs:
popd
- name: Build
id: build
run: make -j8 PREFIX="ccache aarch64-none-elf-"
continue-on-error: true

- name: Install libnx master & Retry build
if: ${{ failure() }}
id: retry
if: ${{ steps.build.outcome == 'failure' }}
run: |
pushd /tmp
git clone https://github.com/switchbrew/libnx
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@ jobs:
uses: hendrikmuhs/[email protected]

- name: Build
id: build
run: make -j8 PREFIX="ccache aarch64-none-elf-"
continue-on-error: true

- name: Install libnx master & Retry build
if: ${{ failure() }}
id: retry
if: ${{ steps.build.outcome == 'failure' }}
run: |
pushd /tmp
git clone https://github.com/switchbrew/libnx
Expand Down

0 comments on commit 1de7a7d

Please sign in to comment.