diff --git a/.github/workflows/linux-cpu-x64-build.yml b/.github/workflows/linux-cpu-x64-build.yml index 1fd782cf8..78ffd94e3 100644 --- a/.github/workflows/linux-cpu-x64-build.yml +++ b/.github/workflows/linux-cpu-x64-build.yml @@ -14,9 +14,14 @@ jobs: uses: actions/checkout@v4 with: submodules: true + - name: Install jq tool + run: | + sudo apt-get update + sudo apt-get install jq + - name: Get the Latest OnnxRuntime Nightly Version run: | - ORT_NIGHTLY_VERSION=$(curl -s ${{ env.ORT_NIGHTLY_REST_API }} | jq -r '.value[0].versions[0].version') + ORT_NIGHTLY_VERSION=$(curl -s ${{ env.ORT_NIGHTLY_REST_API }} | jq -r '.value[0].versions[0].normalizedVersion') echo "$ORT_NIGHTLY_VERSION" echo "ORT_NIGHTLY_VERSION=$ORT_NIGHTLY_VERSION" >> $GITHUB_ENV