Skip to content

Commit

Permalink
Update vcpkg workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
myrotvorets-team committed Feb 20, 2025
1 parent 233df2a commit 69c83ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-vcpkg-baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
BASELINE="$(git submodule status vcpkg | awk '{print $1}')"
echo "baseline=${BASELINE}" >> ${GITHUB_OUTPUT}
- name: Update vcpkg-configuration.json
- name: Update vcpkg.json
run: |
jq --arg baseline "${{ steps.vcpkg-baseline.outputs.baseline }}" '.["default-registry"].baseline = $baseline' vcpkg-configuration.json > tmp.$$.json && mv tmp.$$.json vcpkg-configuration.json
if ! git diff --quiet vcpkg-configuration.json; then
jq --arg baseline "${{ steps.vcpkg-baseline.outputs.baseline }}" '.["vcpkg-configuration"]["default-registry"].baseline = $baseline' vcpkg.json > tmp.$$.json && mv tmp.$$.json vcpkg.json
if ! git diff --quiet vcpkg.json; then
echo "KEEP_GOING=yes" >> "${GITHUB_ENV}"
fi
Expand Down

0 comments on commit 69c83ac

Please sign in to comment.