CI: verify MoltenVK download, cancel superseded runs, fix deprecated set-output

- Verify the SHA-256 of the downloaded MoltenVK tarball before extracting it (macOS jobs).

- Add concurrency cancellation so superseded PR/push builds stop instead of running the full matrix to completion.

- Replace the removed ::set-output workflow command with $GITHUB_OUTPUT in the release version calculation.
This commit is contained in:
1e1 2026-06-29 21:22:57 +02:00
parent 880d2b3bd0
commit d973fde40b
3 changed files with 7 additions and 2 deletions

View File

@ -239,6 +239,7 @@ jobs:
- name: "Install molten-vk" - name: "Install molten-vk"
run: | run: |
curl -L -O https://github.com/KhronosGroup/MoltenVK/releases/download/v1.4.1/MoltenVK-macos-privateapi.tar curl -L -O https://github.com/KhronosGroup/MoltenVK/releases/download/v1.4.1/MoltenVK-macos-privateapi.tar
echo "5e662d77f7f280d9bd692ac5d626831198f404e28b0c8d4d11aac04bff8ff418 MoltenVK-macos-privateapi.tar" | shasum -a 256 -c -
tar xf MoltenVK-macos-privateapi.tar tar xf MoltenVK-macos-privateapi.tar
sudo mkdir -p /usr/local/lib sudo mkdir -p /usr/local/lib
sudo cp MoltenVK/MoltenVK/dynamic/dylib/macOS/libMoltenVK.dylib /usr/local/lib sudo cp MoltenVK/MoltenVK/dynamic/dylib/macOS/libMoltenVK.dylib /usr/local/lib

View File

@ -13,6 +13,11 @@ on:
branches: branches:
- main - main
# Cancel superseded runs for the same ref to save CI minutes
concurrency:
group: build-check-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
build: build:
uses: ./.github/workflows/build.yml uses: ./.github/workflows/build.yml

View File

@ -45,8 +45,7 @@ jobs:
exit 1 exit 1
fi fi
echo "::set-output name=tag::$ALL_TAGS" echo "tag=$ALL_TAGS" >> "$GITHUB_OUTPUT"
# echo "tag=$ALL_TAGS" >> $GITHUB_STATE
- name: Calculate next semver minor - name: Calculate next semver minor
id: calculate_next_version id: calculate_next_version