From f9258b699578e0a448457a73881a25ac0549b452 Mon Sep 17 00:00:00 2001 From: Webb Scales Date: Tue, 9 Apr 2024 20:23:20 -0400 Subject: [PATCH] Pass Go/Python versions as an input to sub-workflows --- .github/workflows/build.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ee934da1..11db2c0c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 @@ -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 }}