summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2025-08-17 12:32:23 +0200
committerGitHub <noreply@github.com>2025-08-17 12:32:23 +0200
commit6c64236e2e7a8e2883b7656657e0fac329d5621b (patch)
treec319f20cfff614b458bcf76d79ac428ba9ea0d18 /.github
parent95b9ab2e45c32f2f91c43b965bfcbecf51484386 (diff)
Allow non-cache build in CI when Azure variables are not available. (#2270)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7634d463..68f649e2 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -7,7 +7,7 @@ on:
types: [opened, synchronize, reopened]
env:
- VCPKG_BINARY_SOURCES: clear;x-azblob,${{ vars.AZ_BLOB_VCPKG_URL }},${{ secrets.AZ_BLOB_SAS }},readwrite
+ VCPKG_BINARY_SOURCES: ${{ vars.AZ_BLOB_VCPKG_URL != '' && format('clear;x-azblob,{0},{1},readwrite', vars.AZ_BLOB_VCPKG_URL, secrets.AZ_BLOB_SAS) || '' }}
jobs:
build: