Fix typos in needs section #6
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Scheduled Build | ||
|
Check failure on line 1 in .github/workflows/scheduled.yml
|
||
| on: | ||
| schedule: | ||
| - cron: '0 14 * * 0' # Every Sunday at 14:00 UTC | ||
| jobs: | ||
| pre-access-esm1.5: | ||
| name: Pre-access-esm1.5 | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| matrix: ${{ steps.set-matrix.outputs.matrix }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| ref: access-esm1.5 | ||
| - name: Set up matrix | ||
| id: set-matrix | ||
| # Find all relevant files under .github/manifests/scheduled/access-esm1.5 | ||
| # then output them as a JSON array (minus the last comma) | ||
| run: | | ||
| files=$(find .github/manifests/scheduled/access-esm1.5 -iname '*.j2' -printf '"%p",') | ||
| echo "matrix=[${files%,}]" >> $GITHUB_OUTPUT | ||
| access-esm1.5: | ||
| name: access-esm1.5 | ||
| needs: pre-access-esm1.5 | ||
| strategy: | ||
| fail-fast: false | ||
| max-parallel: 4 | ||
| matrix: | ||
| file: ${{ fromJson(needs.pre-access-esm1.5.outputs.matrix) }} | ||
| uses: access-nri/build-ci/.github/workflows/ci.yml@v2 | ||
| with: | ||
| spack-manifest-path: ${{ matrix.file }} | ||
| spack-manifest-data-path: .github/data/standard.json | ||
| allow-ssh-into-spack-install: false # If true, PR author must ssh into instance to complete job | ||
| # spack-packages-ref: main | ||
| # spack-config-ref: main | ||
| # spack-ref: releases/v0.22 | ||
| pre-master: | ||
| name: Pre-master | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| matrix: ${{ steps.set-matrix.outputs.matrix }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| ref: master | ||
| - name: Set up matrix | ||
| id: set-matrix | ||
| # Find all relevant files under .github/manifests/scheduled/master | ||
| # then output them as a JSON array (minus the last comma) | ||
| run: | | ||
| files=$(find .github/manifests/scheduled/master -iname '*.j2' -printf '"%p",') | ||
| echo "matrix=[${files%,}]" >> $GITHUB_OUTPUT | ||
| master: | ||
| name: master | ||
| needs: pre-master | ||
| strategy: | ||
| fail-fast: false | ||
| max-parallel: 4 | ||
| matrix: | ||
| file: ${{ fromJson(needs.pre-master.outputs.matrix) }} | ||
| uses: access-nri/build-ci/.github/workflows/ci.yml@v2 | ||
| with: | ||
| spack-manifest-path: ${{ matrix.file }} | ||
| spack-manifest-data-path: .github/data/standard.json | ||
| allow-ssh-into-spack-install: false # If true, PR author must ssh into instance to complete job | ||
| # spack-packages-ref: main | ||
| # spack-config-ref: main | ||
| # spack-ref: releases/v0.22 | ||