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 10, 2024
1 parent 59c93b7 commit f9258b6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 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,16 @@ jobs:
needs:
- lint_and_test
- generate
uses: arcalot/arcaflow-reusable-workflows/.github/workflows/go_release.yaml@main
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: arcalog/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 f9258b6

Please sign in to comment.