Skip to content

Commit

Permalink
Fix integration test artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaiaeroastro committed Jun 1, 2024
1 parent 0c76c20 commit 512882e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,8 @@ jobs:
run: |
LATEST_LIB3MF_URL=$(curl -s https://api.github.com/repos/3MFConsortium/lib3mf/releases/latest | grep "browser_download_url.*zip" | cut -d '"' -f 4)
echo "LATEST_LIB3MF_URL=${LATEST_LIB3MF_URL}" >> $GITHUB_ENV
LATEST_RELEASE_NAME=$(curl -s https://api.github.com/repos/3MFConsortium/lib3mf/releases/latest | grep '"tag_name"' | cut -d '"' -f 4)
echo "LATEST_RELEASE_NAME=${LATEST_RELEASE_NAME}" >> $GITHUB_ENV
- name: Download latest lib3mf SDK release zip
run: |
Expand Down Expand Up @@ -637,8 +639,8 @@ jobs:
else
echo "Latest release is better"
fi
echo "${{ github.sha }} ${LATEST_COMMIT_TOTAL_SECONDS}" > results.txt
echo "${{ env.LATEST_RELEASE_NAME }} ${LATEST_RELEASE_TOTAL_SECONDS}" >> results.txt
echo "Latest commit with SHA ${{ github.sha }} ran in ${LATEST_COMMIT_TOTAL_SECONDS} seconds" > results.txt
echo "Latest release with tag ${{ env.LATEST_RELEASE_NAME }} ran in ${LATEST_RELEASE_TOTAL_SECONDS} seconds" >> results.txt
- name: Upload results artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 512882e

Please sign in to comment.