diff --git a/.github/workflows/run_algoa-bay-forecast.yml b/.github/workflows/run_algoa-bay-forecast.yml index 7c8ce4ac..3df30bd7 100644 --- a/.github/workflows/run_algoa-bay-forecast.yml +++ b/.github/workflows/run_algoa-bay-forecast.yml @@ -223,6 +223,7 @@ jobs: echo "::set-output name=WORKDIR_YESTERDAY::/tmp/somisana/algoa-bay-forecast/${{ env.branch_ref }}/${{ env.dirname_yesterday }}" # Download environmental data used to constrain model boundaries. + # This job is retried if it fails, since the failure can be due to upstream errors # These downloads are used to create forcing files that are fed as input to the CROCO model # => marine.copernicus.eu: This is ocean data that forms the boundary of our model run # => ncei.noaa.gov: This is weather data used to create sea-surface conditions for our model run @@ -233,11 +234,13 @@ jobs: WORKDIR: ${{ needs.workdir.outputs.WORKDIR }} steps: - name: Source ~/.bashrc (for NVM - required for non-interactive shells) - run: source ~/.bashrc + run: | + source ~/.bashrc + nvm use 16.14.2 - name: Download Algoa-bay forcing input uses: nick-fields/retry@v2 with: - timeout_minutes: 20 # Script is considered failed if this limit is reached + timeout_minutes: 30 # Script is considered failed if this limit is reached retry_wait_seconds: 600 # Wait 10 minutes and try again max_attempts: 10 retry_on: any diff --git a/.github/workflows/test-local-action.yml b/.github/workflows/test-local-action.yml index b7c5a2e6..397560fc 100644 --- a/.github/workflows/test-local-action.yml +++ b/.github/workflows/test-local-action.yml @@ -18,6 +18,7 @@ jobs: - name: Install node_modules for action run: | source ~/.bashrc + nvm use 16.14.2 npm ci --only production --prefix .github/actions/hello-world/ - name: Hello world action step id: hello