mom5: rename the SPACK_BUILD environment variable (#169) #59
Workflow file for this run
This file contains 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: "Dispatch Event to Build CI" | |
on: | |
push: | |
tags: | |
- '*.*.*' | |
paths: | |
- 'packages/**' | |
jobs: | |
send-update-to-build-ci: | |
name: Send Update to Build CI repo | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send event and tag to build-ci repo | |
run: | | |
curl -XPOST -u "${{ secrets.RELEASE_BUILD_CI_PAT_USERNAME }}:${{ secrets.RELEASE_BUILD_CI_PAT }}" \ | |
-H "Accept: application/vnd.github.everest-preview+json" \ | |
-H "Content-Type: application/json" https://api.github.com/repos/ACCESS-NRI/build-ci/actions/workflows/dep-image-1-start.yml/dispatches \ | |
--data '{"ref": "main", "inputs":{"spack-packages-version": "${{ github.ref_name }}", "model": "all"}}' |