File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 6161 run : |
6262 os=$(uname -s | awk '{print tolower($0)}')
6363 arch=$(uname -m)
64- echo "PLATFORM=${os}_${arch}" >> $GITHUB_ENV
64+
65+ # Get the major and minor version of Python.
66+ # E.g if JAXCI_HERMETIC_PYTHON_VERSION=3.10, then python_major_minor=310
67+ echo
68+ python_major_minor="${JAXCI_HERMETIC_PYTHON_VERSION//./}"
69+
70+ echo "OS=${os}" >> $GITHUB_ENV
71+ echo "ARCH=${arch}" >> $GITHUB_ENV
72+ echo "PYTHON_MAJOR_MINOR=${python_major_minor}" >> $GITHUB_ENV
6573 - name : Download the wheel artifacts from GCS
6674 run : mkdir -p $(pwd)/dist && gsutil -m cp -r "${{ inputs.gcs_download_uri }}"/*${PYTHON_MAJOR_MINOR}*${OS}*${ARCH}*.whl $(pwd)/dist/
6775 - name : Run Bazel tests
Original file line number Diff line number Diff line change 6767 run : |
6868 os=$(uname -s | awk '{print tolower($0)}')
6969 arch=$(uname -m)
70-
70+
7171 # Get the major and minor version of Python.
7272 # E.g if JAXCI_HERMETIC_PYTHON_VERSION=3.10, then python_major_minor=310
73+ echo $os $arch "${JAXCI_HERMETIC_PYTHON_VERSION}"
7374 python_major_minor="${JAXCI_HERMETIC_PYTHON_VERSION//./}"
7475
7576 echo "OS=${os}" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments