Skip to content

Commit 3b0bd14

Browse files
Isolate secrets test to a single condition
1 parent f3b3afe commit 3b0bd14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cmake.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ jobs:
3737
sudo apt install mono-complete
3838
3939
- name: Install Prerequisites macOS
40-
if: ${{matrix.os == 'macos-latest' && secrets.GH_PACKAGES_TOKEN != ''}}
40+
if: ${{matrix.os == 'macos-latest'}}
4141
shell: bash
4242
run: |
4343
${{github.workspace}}/vcpkg/bootstrap-vcpkg.sh
4444
4545
- name: Add NuGet sources
46-
if: ${{secrets.GH_PACKAGES_TOKEN != ''}}
46+
if: ${{matrix.os == 'macos-latest'}}
4747
shell: bash
4848
run: |
4949
${{matrix.nuget}} \

0 commit comments

Comments
 (0)