Skip to content

Create model-build-test-ci.yml (#10) #5

Create model-build-test-ci.yml (#10)

Create model-build-test-ci.yml (#10) #5

name: Test model build
on:
workflow_dispatch:
pull_request:
branches:
- "master"
- "access-esm1.5"
push:
branches:
- "master"
- "access-esm1.5"
jobs:
build:
name: Build ${{ github.repository }} via spack
uses: access-nri/build-ci/.github/workflows/model-1-build.yml@main
with:
rhs-branch: ${{ (github.base_ref == 'access-esm1.5' || github.ref_name == 'access-esm1.5') && 'access-esm1.5' }}
permissions:
packages: read