diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b6a750a..1872f83 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,10 +22,13 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 - 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 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 3f79ada..898a8b3 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79de037..fe43c88 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,10 +28,13 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 - 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