Skip to content

Create model-build-test-ci.yml #4

Create model-build-test-ci.yml

Create model-build-test-ci.yml #4

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