Skip to content

Commit

Permalink
Pass Go/Python versions as an input to sub-workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
webbnh committed Apr 12, 2024
1 parent 59c93b7 commit 3339f11
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
lint_and_test:
name: lint and test
uses: arcalot/arcaflow-reusable-workflows/.github/workflows/go_lint_and_test.yaml@main
with:
go_version: ${{ vars.ARCALOT_GO_VERSION }}
generate:
name: go generate
runs-on: ubuntu-latest
Expand All @@ -36,13 +38,19 @@ jobs:
needs:
- lint_and_test
- generate
uses: arcalot/arcaflow-reusable-workflows/.github/workflows/go_release.yaml@main
secrets:
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
with:
go_version: ${{ vars.ARCALOT_GO_VERSION }}
for_release: ${{ startsWith(github.event.ref, 'refs/tags/') }}
uses: arcalot/arcaflow-reusable-workflows/.github/workflows/go_release.yaml@main
build_python_wheel:
name: build python wheel
needs:
- release
uses: arcalot/arcaflow-reusable-workflows/.github/workflows/python_release.yaml@main
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
uses: arcalot/arcaflow-reusable-workflows/.github/workflows/python_release.yaml@main
with:
python_version: ${{ vars.ARCALOT_PYTHON_VERSION }}

0 comments on commit 3339f11

Please sign in to comment.