From 61d33f2137230e82f86e6b2f149c7b93e9437bd9 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 | 54 +++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 762a0f3bd..f0ce5561f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -149,6 +149,24 @@ jobs: password: ${{ secrets.TOKEN_GITHUB }} steps: - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.9" + - 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: @@ -281,6 +299,24 @@ jobs: password: ${{ secrets.TOKEN_GITHUB }} steps: - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.9" + - 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: @@ -312,6 +348,24 @@ jobs: password: ${{ secrets.TOKEN_GITHUB }} steps: - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.9" + - 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: