From 00ee7bcd4731e86a11a51b918f50eb47ef94f5ed Mon Sep 17 00:00:00 2001 From: Thibault Charbonnier Date: Mon, 23 Oct 2023 12:51:20 -0700 Subject: [PATCH] chore(release) ensure Python 3.8+ is used Fixing V8 build issues, see https://github.com/NVIDIA/DeepLearningExamples/issues/1016 --- .github/workflows/release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 762a0f3bd..0f7408f61 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -149,6 +149,9 @@ jobs: password: ${{ secrets.TOKEN_GITHUB }} steps: - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.10" - name: Build binary run: ./util/release.sh ${{ needs.setup.outputs.release_name }} --bin env: @@ -281,6 +284,9 @@ jobs: password: ${{ secrets.TOKEN_GITHUB }} steps: - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.10" - name: Build binary run: ./util/release.sh ${{ needs.setup.outputs.release_name }} --bin env: @@ -312,6 +318,24 @@ jobs: password: ${{ secrets.TOKEN_GITHUB }} steps: - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.10" + - run: echo $pythonLocation + - run: | + echo $PATH + python --version + which python + - run: | + echo $PATH + python --version + which python + shell: bash {0} + - run: | + echo $PATH + python --version + which python + shell: bash -l {0} - name: Build binary run: ./util/release.sh ${{ needs.setup.outputs.release_name }} --bin env: