From 3863d50503099a62f9c7c2979e84565c6372b238 Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Tue, 1 Dec 2026 16:40:41 +0200 Subject: [PATCH 01/14] ci: deploy vcpkg port from msys2 job with fresh upstream vcpkg The vcpkg bundled in the windows runners is too old to process the published cppfw/vcpkg-repo registry (x-add-version fails with 'not properly formatted' errors), so the deploy step of vcpkg-windows always failed. Move the port deployment to a dedicated vcpkg-msys2 job (windows-latest, msys2 shell) that bootstraps a fresh upstream vcpkg, mirroring the linux CI approach. The deploy still runs on release tags only; the vcpkg-windows job keeps build/test and no longer deploys. Also note this fixes the vcpkg deploy on 1.0.2-size tags: the previous tag's deploy step will still fail on the old vcpkg unless the new tag is cut from a commit containing this change. --- .github/workflows/ci.yml | 53 +++++++++++++++++++++++++++++++++++----- 1 file changed, 47 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1b3d1b..96e4905 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -133,10 +133,51 @@ jobs: vcpkg-installation/buildtrees/*/*.txt build/vcpkg/**/*.log if-no-files-found: warn - - name: deploy vcpkg port - shell: bash +##### vcpkg-msys2 ##### + # deploy the vcpkg port from an msys2 (MSYS) job using a fresh upstream vcpkg, + # because the vcpkg bundled with the windows runners is too old to handle the + # published vcpkg registry + vcpkg-msys2: + runs-on: windows-latest + defaults: + run: + shell: msys2 {0} + name: vcpkg - msys2 + steps: + - name: make msys2 to provide the default shell + uses: msys2/setup-msys2@v2 + with: + update: true + msystem: MSYS + install: >- + git + jq + curl + zip + tar + - name: git clone + uses: myci-actions/checkout@main + - name: get myci scripts + uses: actions/checkout@v4 + with: + repository: cppfw/myci + ref: latest + path: myci + - name: add myci to PATH + uses: myci-actions/export-env-var@main + with: {name: PATH, value: "$PATH:$(pwd)/myci/src/bash"} + - name: install vcpkg run: | - export PATH="$(pwd)/myci/src/bash:${VCPKG_ROOT}:${PATH}" - myci-deploy-vcpkg.sh --repo cppfw/vcpkg-repo --port-dir build/vcpkg/overlay/${PACKAGE_NAME} - # the port is deployed once per release, from a single matrix leg - if: ${{ matrix.arch == 'x64' && matrix.config == 'Release' && startsWith(github.ref, 'refs/tags/') }} + git clone https://github.com/microsoft/vcpkg.git vcpkg-installation + (cd vcpkg-installation; ./bootstrap-vcpkg.sh) + - name: set VCPKG_ROOT + uses: myci-actions/export-env-var@main + with: {name: VCPKG_ROOT, value: "$(pwd)/vcpkg-installation"} + - name: add VCPKG_ROOT to PATH + uses: myci-actions/export-env-var@main + with: {name: PATH, value: "$PATH:$VCPKG_ROOT"} + - name: prepare vcpkg port + run: myci-vcpkg-prepare.sh --git-ref ${{ github.sha }} + - name: deploy vcpkg port + run: myci-deploy-vcpkg.sh --repo cppfw/vcpkg-repo --port-dir build/vcpkg/overlay/${PACKAGE_NAME} + if: startsWith(github.ref, 'refs/tags/') From bd167b24866034c2f951c7fd7037d2c673c2be9f Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Tue, 1 Dec 2026 17:59:32 +0200 Subject: [PATCH 02/14] ci: deploy vcpkg port from vcpkg-windows x64 Release leg; bootstrap fresh windows vcpkg; bump vcpkg baseline - update vcpkg baseline (microsoft/vcpkg ed403b3, cppfw/vcpkg-repo 8bfce7f) - fix vcpkg-msys2: bootstrap the windows vcpkg instead of the broken msys bootstrap - move deploy step to the vcpkg-windows x64|Release leg (release tags only), using the new myci 0.1.233 powershell scripts (myci-vcpkg-deploy.ps1 / myci-git-askpass.ps1) --- .github/workflows/ci.yml | 25 ++++++++++++++++++----- build/vcpkg/test/vcpkg-configuration.json | 4 ++-- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96e4905..08db79f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -122,6 +122,22 @@ jobs: run: | cd build/vcpkg/test ./${{ matrix.config }}/test.exe + - name: install fresh upstream vcpkg + # the vcpkg bundled with the windows runners is too old to handle the + # published vcpkg registry, so bootstrap a fresh one from upstream + # (windows vcpkg) for the deploy leg + if: ${{ matrix.arch == 'x64' && matrix.config == 'Release' && startsWith(github.ref, 'refs/tags/') }} + shell: powershell + run: | + git clone https://github.com/microsoft/vcpkg.git vcpkg-installation + powershell.exe vcpkg-installation/scripts/bootstrap.ps1 + echo "VCPKG_ROOT=$(Resolve-Path vcpkg-installation)" >> $env:GITHUB_ENV + echo "PATH=$(Resolve-Path vcpkg-installation)" >> $env:GITHUB_ENV + - name: deploy vcpkg port + if: ${{ matrix.arch == 'x64' && matrix.config == 'Release' && startsWith(github.ref, 'refs/tags/') }} + shell: powershell + run: | + myci-vcpkg-deploy.ps1 -Repo cppfw/vcpkg-repo -PortDir build/vcpkg/overlay/${{ env.PACKAGE_NAME }} - name: upload vcpkg logs to artifacts if: always() # even if previous steps fail, this one needs to be run uses: actions/upload-artifact@v4 @@ -134,7 +150,7 @@ jobs: build/vcpkg/**/*.log if-no-files-found: warn ##### vcpkg-msys2 ##### - # deploy the vcpkg port from an msys2 (MSYS) job using a fresh upstream vcpkg, + # build the vcpkg port from an msys2 (MSYS) job using a fresh upstream vcpkg, # because the vcpkg bundled with the windows runners is too old to handle the # published vcpkg registry vcpkg-msys2: @@ -167,9 +183,11 @@ jobs: uses: myci-actions/export-env-var@main with: {name: PATH, value: "$PATH:$(pwd)/myci/src/bash"} - name: install vcpkg + # bootstrap the windows vcpkg (not the msys2 one): the bundled/bootstrapped + # msys bootstrap is not needed here and the windows bootstrap is the reliable path run: | git clone https://github.com/microsoft/vcpkg.git vcpkg-installation - (cd vcpkg-installation; ./bootstrap-vcpkg.sh) + powershell.exe vcpkg-installation/scripts/bootstrap.ps1 - name: set VCPKG_ROOT uses: myci-actions/export-env-var@main with: {name: VCPKG_ROOT, value: "$(pwd)/vcpkg-installation"} @@ -178,6 +196,3 @@ jobs: with: {name: PATH, value: "$PATH:$VCPKG_ROOT"} - name: prepare vcpkg port run: myci-vcpkg-prepare.sh --git-ref ${{ github.sha }} - - name: deploy vcpkg port - run: myci-deploy-vcpkg.sh --repo cppfw/vcpkg-repo --port-dir build/vcpkg/overlay/${PACKAGE_NAME} - if: startsWith(github.ref, 'refs/tags/') diff --git a/build/vcpkg/test/vcpkg-configuration.json b/build/vcpkg/test/vcpkg-configuration.json index ae36887..964116f 100644 --- a/build/vcpkg/test/vcpkg-configuration.json +++ b/build/vcpkg/test/vcpkg-configuration.json @@ -1,14 +1,14 @@ { "default-registry": { "kind": "git", - "baseline": "9b5cb8e554487f3edb5d50b80188883846f81e14", + "baseline": "ed403b337098c6dab8fbdf4dfdba9ec89612eb27", "repository": "https://github.com/microsoft/vcpkg" }, "registries": [ { "kind": "git", "repository": "https://github.com/cppfw/vcpkg-repo/", - "baseline": "9fda5016dcd22857de5dd20702428ac8d1652a99", + "baseline": "8bfce7f037fe110e0cb69aa09aa257847895a7ea", "reference": "main", "packages": [ "myci", From 401a5a40af1f7fb5c26c2be7941a31eff1ab5afd Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Tue, 1 Dec 2026 18:05:08 +0200 Subject: [PATCH 03/14] ci: rename fresh-vcpkg install step with 'for deploy' suffix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08db79f..92de302 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -122,7 +122,7 @@ jobs: run: | cd build/vcpkg/test ./${{ matrix.config }}/test.exe - - name: install fresh upstream vcpkg + - name: install fresh upstream vcpkg for deploy # the vcpkg bundled with the windows runners is too old to handle the # published vcpkg registry, so bootstrap a fresh one from upstream # (windows vcpkg) for the deploy leg From f899e677d18b6523635708d32eb53d58e4da4e85 Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Tue, 1 Dec 2026 18:06:30 +0200 Subject: [PATCH 04/14] ci: temporarily enable deploy steps on branch (test) --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92de302..b994b3f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -126,7 +126,7 @@ jobs: # the vcpkg bundled with the windows runners is too old to handle the # published vcpkg registry, so bootstrap a fresh one from upstream # (windows vcpkg) for the deploy leg - if: ${{ matrix.arch == 'x64' && matrix.config == 'Release' && startsWith(github.ref, 'refs/tags/') }} + if: ${{ matrix.arch == 'x64' && matrix.config == 'Release' }} shell: powershell run: | git clone https://github.com/microsoft/vcpkg.git vcpkg-installation @@ -134,7 +134,7 @@ jobs: echo "VCPKG_ROOT=$(Resolve-Path vcpkg-installation)" >> $env:GITHUB_ENV echo "PATH=$(Resolve-Path vcpkg-installation)" >> $env:GITHUB_ENV - name: deploy vcpkg port - if: ${{ matrix.arch == 'x64' && matrix.config == 'Release' && startsWith(github.ref, 'refs/tags/') }} + if: ${{ matrix.arch == 'x64' && matrix.config == 'Release' }} shell: powershell run: | myci-vcpkg-deploy.ps1 -Repo cppfw/vcpkg-repo -PortDir build/vcpkg/overlay/${{ env.PACKAGE_NAME }} From 148c874bc70ef27ca96fb5be482f8d1f7b9be07f Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Tue, 1 Dec 2026 18:09:16 +0200 Subject: [PATCH 05/14] ci: run msys2 vcpkg-prepare step with bash shell --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b994b3f..ed209c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -195,4 +195,5 @@ jobs: uses: myci-actions/export-env-var@main with: {name: PATH, value: "$PATH:$VCPKG_ROOT"} - name: prepare vcpkg port + shell: bash run: myci-vcpkg-prepare.sh --git-ref ${{ github.sha }} From a110cd828d860b43fd70b9d41473c6d778a78355 Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Tue, 1 Dec 2026 18:27:01 +0200 Subject: [PATCH 06/14] ci: merge fresh-vcpkg install into single deploy step; use separate vcpkg-fresh dir --- .github/workflows/ci.yml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed209c5..701c6a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -122,21 +122,17 @@ jobs: run: | cd build/vcpkg/test ./${{ matrix.config }}/test.exe - - name: install fresh upstream vcpkg for deploy - # the vcpkg bundled with the windows runners is too old to handle the - # published vcpkg registry, so bootstrap a fresh one from upstream - # (windows vcpkg) for the deploy leg - if: ${{ matrix.arch == 'x64' && matrix.config == 'Release' }} - shell: powershell - run: | - git clone https://github.com/microsoft/vcpkg.git vcpkg-installation - powershell.exe vcpkg-installation/scripts/bootstrap.ps1 - echo "VCPKG_ROOT=$(Resolve-Path vcpkg-installation)" >> $env:GITHUB_ENV - echo "PATH=$(Resolve-Path vcpkg-installation)" >> $env:GITHUB_ENV - - name: deploy vcpkg port + - name: deploy vcpkg port for deploy + # bootstrap a fresh upstream vcpkg (windows vcpkg) for the deploy leg, + # because the vcpkg bundled with the windows runners is too old to handle + # the published vcpkg registry if: ${{ matrix.arch == 'x64' && matrix.config == 'Release' }} shell: powershell run: | + git clone https://github.com/microsoft/vcpkg.git vcpkg-fresh + powershell.exe vcpkg-fresh/scripts/bootstrap.ps1 + $env:VCPKG_ROOT = Resolve-Path vcpkg-fresh + $env:PATH = "$($env:VCPKG_ROOT);" + $env:PATH myci-vcpkg-deploy.ps1 -Repo cppfw/vcpkg-repo -PortDir build/vcpkg/overlay/${{ env.PACKAGE_NAME }} - name: upload vcpkg logs to artifacts if: always() # even if previous steps fail, this one needs to be run @@ -186,11 +182,11 @@ jobs: # bootstrap the windows vcpkg (not the msys2 one): the bundled/bootstrapped # msys bootstrap is not needed here and the windows bootstrap is the reliable path run: | - git clone https://github.com/microsoft/vcpkg.git vcpkg-installation - powershell.exe vcpkg-installation/scripts/bootstrap.ps1 + git clone https://github.com/microsoft/vcpkg.git vcpkg-fresh + powershell.exe vcpkg-fresh/scripts/bootstrap.ps1 - name: set VCPKG_ROOT uses: myci-actions/export-env-var@main - with: {name: VCPKG_ROOT, value: "$(pwd)/vcpkg-installation"} + with: {name: VCPKG_ROOT, value: "$(pwd)/vcpkg-fresh"} - name: add VCPKG_ROOT to PATH uses: myci-actions/export-env-var@main with: {name: PATH, value: "$PATH:$VCPKG_ROOT"} From c1f3a308d9f4fdcba716cda5389a145a9ffd9b9a Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Tue, 1 Dec 2026 18:41:27 +0200 Subject: [PATCH 07/14] ci: disable autocrlf for the deploy clone so manifests pass vcpkg's format check --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 701c6a1..dcb6e66 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -133,6 +133,9 @@ jobs: powershell.exe vcpkg-fresh/scripts/bootstrap.ps1 $env:VCPKG_ROOT = Resolve-Path vcpkg-fresh $env:PATH = "$($env:VCPKG_ROOT);" + $env:PATH + # disable autocrlf for the vcpkg-repo clone (the default on windows runners + # would convert LF files to CRLF, which the vcpkg manifest checker rejects) + git config --global core.autocrlf false myci-vcpkg-deploy.ps1 -Repo cppfw/vcpkg-repo -PortDir build/vcpkg/overlay/${{ env.PACKAGE_NAME }} - name: upload vcpkg logs to artifacts if: always() # even if previous steps fail, this one needs to be run From 72fb0a3a3416f74c0232ff405b096ea56c7ee2b1 Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Tue, 1 Dec 2026 18:58:09 +0200 Subject: [PATCH 08/14] ci: temporarily use myci fix-askpass-path branch for deploy --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dcb6e66..614163d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,7 +97,8 @@ jobs: uses: actions/checkout@v4 with: repository: cppfw/myci - ref: latest + # TEMPORARY: point at the fix-askpass-path branch until it is merged to myci main + ref: fix-askpass-path path: myci - name: add myci to PATH uses: myci-actions/export-env-var-powershell@main @@ -176,7 +177,8 @@ jobs: uses: actions/checkout@v4 with: repository: cppfw/myci - ref: latest + # TEMPORARY: point at the fix-askpass-path branch until it is merged to myci main + ref: fix-askpass-path path: myci - name: add myci to PATH uses: myci-actions/export-env-var@main From f7b74086987748077c9a4173e7ae0f28a0e5e06f Mon Sep 17 00:00:00 2001 From: test Date: Tue, 1 Dec 2026 19:34:36 +0200 Subject: [PATCH 09/14] ci: use myci main for the deploy step now that the askpass fix is merged The fix-askpass-path temporary ref was needed while myci PR #13 was under review. Now that it is merged to main, point the myci checkout at main (the script it carries fixes the GIT_ASKPASS path resolution and mirrors the bash deploy script). Switch to 'latest' once myci 0.1.234 is released. --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 614163d..f071875 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,8 +97,7 @@ jobs: uses: actions/checkout@v4 with: repository: cppfw/myci - # TEMPORARY: point at the fix-askpass-path branch until it is merged to myci main - ref: fix-askpass-path + ref: main path: myci - name: add myci to PATH uses: myci-actions/export-env-var-powershell@main @@ -177,8 +176,7 @@ jobs: uses: actions/checkout@v4 with: repository: cppfw/myci - # TEMPORARY: point at the fix-askpass-path branch until it is merged to myci main - ref: fix-askpass-path + ref: main path: myci - name: add myci to PATH uses: myci-actions/export-env-var@main From de02888d10e5f820c7a125068c66869edf082ab0 Mon Sep 17 00:00:00 2001 From: test Date: Tue, 1 Dec 2026 19:39:03 +0200 Subject: [PATCH 10/14] ci: remove redundant 'for deploy' from the deploy step name --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f071875..b6082f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -122,7 +122,7 @@ jobs: run: | cd build/vcpkg/test ./${{ matrix.config }}/test.exe - - name: deploy vcpkg port for deploy + - name: deploy vcpkg port # bootstrap a fresh upstream vcpkg (windows vcpkg) for the deploy leg, # because the vcpkg bundled with the windows runners is too old to handle # the published vcpkg registry From 1369f9543d051cb5ae0c7f417f9afe3644753fff Mon Sep 17 00:00:00 2001 From: test Date: Wed, 2 Dec 2026 00:14:42 +0200 Subject: [PATCH 11/14] ci: drop fresh vcpkg bootstrap from deploy step The vcpkg bundled with the windows runner handles the published vcpkg registry identically to a fresh upstream vcpkg for the deploy flow (verified locally). Keep the autocrlf disable. --- .github/workflows/ci.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6082f0..8b8e612 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -123,16 +123,9 @@ jobs: cd build/vcpkg/test ./${{ matrix.config }}/test.exe - name: deploy vcpkg port - # bootstrap a fresh upstream vcpkg (windows vcpkg) for the deploy leg, - # because the vcpkg bundled with the windows runners is too old to handle - # the published vcpkg registry if: ${{ matrix.arch == 'x64' && matrix.config == 'Release' }} shell: powershell run: | - git clone https://github.com/microsoft/vcpkg.git vcpkg-fresh - powershell.exe vcpkg-fresh/scripts/bootstrap.ps1 - $env:VCPKG_ROOT = Resolve-Path vcpkg-fresh - $env:PATH = "$($env:VCPKG_ROOT);" + $env:PATH # disable autocrlf for the vcpkg-repo clone (the default on windows runners # would convert LF files to CRLF, which the vcpkg manifest checker rejects) git config --global core.autocrlf false From 8c3551c37ced9198aa4a6da76c8e55c0fe1b2a31 Mon Sep 17 00:00:00 2001 From: test Date: Wed, 2 Dec 2026 01:54:40 +0200 Subject: [PATCH 12/14] deploy: use bash twin in vcpkg-windows deploy step myci-vcpkg-deploy.ps1 (and its askpass) is being removed in favor of the bash twin, which works in Git Bash on windows runners. Invoke it with shell: bash and add VCPKG_ROOT to PATH since the script calls vcpkg directly. --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b8e612..f4b662a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -124,12 +124,14 @@ jobs: ./${{ matrix.config }}/test.exe - name: deploy vcpkg port if: ${{ matrix.arch == 'x64' && matrix.config == 'Release' }} - shell: powershell + shell: bash run: | # disable autocrlf for the vcpkg-repo clone (the default on windows runners # would convert LF files to CRLF, which the vcpkg manifest checker rejects) git config --global core.autocrlf false - myci-vcpkg-deploy.ps1 -Repo cppfw/vcpkg-repo -PortDir build/vcpkg/overlay/${{ env.PACKAGE_NAME }} + # the deploy script invokes vcpkg directly, so add its root to PATH + export PATH="$VCPKG_ROOT:$PATH" + bash myci/src/bash/myci-deploy-vcpkg.sh --repo cppfw/vcpkg-repo --port-dir build/vcpkg/overlay/${{ env.PACKAGE_NAME }} - name: upload vcpkg logs to artifacts if: always() # even if previous steps fail, this one needs to be run uses: actions/upload-artifact@v4 From b62455df7c03b25aeba53271c3b5a05b52e7b256 Mon Sep 17 00:00:00 2001 From: test Date: Wed, 2 Dec 2026 02:27:13 +0200 Subject: [PATCH 13/14] deploy: gate vcpkg deploy step to tagged builds only The deploy step runs the vcpkg repo update, which should only happen for release tags, not on every PR or main push. Emits nothing on PRs the first time the gate is exercised; the tag-gated deploy remains. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4b662a..a1f1301 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -123,7 +123,7 @@ jobs: cd build/vcpkg/test ./${{ matrix.config }}/test.exe - name: deploy vcpkg port - if: ${{ matrix.arch == 'x64' && matrix.config == 'Release' }} + if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.arch == 'x64' && matrix.config == 'Release' }} shell: bash run: | # disable autocrlf for the vcpkg-repo clone (the default on windows runners From de1c829ddf77cec0d06f9458e18d3deeda79d417 Mon Sep 17 00:00:00 2001 From: test Date: Wed, 2 Dec 2026 02:32:22 +0200 Subject: [PATCH 14/14] ci: document why bash is needed explicitly in the deploy step --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1f1301..843178c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -131,6 +131,10 @@ jobs: git config --global core.autocrlf false # the deploy script invokes vcpkg directly, so add its root to PATH export PATH="$VCPKG_ROOT:$PATH" + # bash is needed explicitly here (not just shell: bash): + # Git for Windows does not preserve the executable bit on checkout + # (core.filemode=false), so the script must be invoked via 'bash