Skip to content

Commit

Permalink
Install jq tool
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen351 committed Apr 10, 2024
1 parent f9f3e1f commit ccddc14
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/linux-cpu-x64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ccddc14

Please sign in to comment.