diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ccec6b..e0f388d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,10 @@ jobs: container: image: devkitpro/devkita64:latest + defaults: + run: + shell: bash + steps: - uses: actions/checkout@v3 with: @@ -17,6 +21,17 @@ jobs: - name: Build run: make -j8 + - name: Install libnx master & Retry build + if: ${{ failure() }} + run: | + pushd /tmp + git clone https://github.com/switchbrew/libnx + cd libnx + make -j8 + make install + popd + make -j8 + - name: Upload built files uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 506857d..e42da3c 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -11,6 +11,10 @@ jobs: container: image: devkitpro/devkita64:latest + defaults: + run: + shell: bash + steps: - uses: actions/checkout@v3 with: @@ -26,6 +30,17 @@ jobs: - name: Build run: make -j8 + - name: Install libnx master & Retry build + if: ${{ failure() }} + run: | + pushd /tmp + git clone https://github.com/switchbrew/libnx + cd libnx + make -j8 + make install + popd + make -j8 + - name: Upload built files uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 68b5ea7..e82ba88 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,10 @@ jobs: container: image: devkitpro/devkita64:latest + defaults: + run: + shell: bash + steps: - name: Set env run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV @@ -22,6 +26,17 @@ jobs: - name: Build run: make -j8 + + - name: Install libnx master & Retry build + if: ${{ failure() }} + run: | + pushd /tmp + git clone https://github.com/switchbrew/libnx + cd libnx + make -j8 + make install + popd + make -j8 - name: Pack run: |