bypass time_definition.adj.years validation check if single year (#157) #21
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: tz-solve build trigger | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- tz/osemosys/** | |
- pyproject.toml | |
- .github/workflows/trigger-tz-solve-build.yml | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
trigger-tz-solve-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- id: auth | |
uses: google-github-actions/auth@v2 | |
with: | |
credentials_json: ${{ secrets.TZ_SOLVE_SERVICE_ACCOUNT_KEY }} | |
- name: Set up Cloud SDK | |
uses: google-github-actions/setup-gcloud@v2 | |
with: | |
version: latest | |
- name: Trigger tz-solve build | |
run: | | |
gcloud builds triggers run tz-solve-build \ | |
--region=europe-west2 \ | |
--branch=main \ | |
--substitutions=_REF=${{ github.ref_name }} |