.github/workflows/build.yml
raw| 1 | name: Build |
| 2 | on: |
| 3 | workflow_dispatch: |
| 4 | pull_request: |
| 5 | branches: |
| 6 | - main |
| 7 | push: |
| 8 | tags: |
| 9 | - 'v*' |
| 10 | jobs: |
| 11 | build-pull-request: |
| 12 | uses: ./.github/workflows/build-pull-request.yml |
| 13 | build-release: |
| 14 | uses: ./.github/workflows/build-release.yml |
| 15 | secrets: |
| 16 | ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} |
| 17 | if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') |