diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 919a650..8b20a03 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -14,7 +14,13 @@ jobs: steps: - uses: actions/checkout@v3 - - name: get latest roc nightly + - id: try_fetching_testing_release + continue-on-error: true + run: | + curl -fOL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linux_x86_64-TESTING.tar.gz + + - name: There are no TESTING releases, checking regular releases instead + if: steps.try_fetching_testing_release.outcome == 'failure' run: | curl -fOL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linux_x86_64-latest.tar.gz