Skip to content

Commit 47b8916

Browse files
committed
Save vcpkg cache with master and stable branches
1 parent 7cece23 commit 47b8916

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ jobs:
102102
with:
103103
path: src\vcpkg_installed
104104
key: windows-${{ matrix.os }}-vcpkg-${{ hashFiles('src/vcpkg.json') }}
105+
if: ${{ github.ref_name == 'master' || startsWith(github.ref_name, 'ruby_') }}
105106

106107
- name: setup env
107108
# Available Ruby versions: https://github.com/actions/runner-images/blob/main/images/windows/Windows2019-Readme.md#ruby

0 commit comments

Comments
 (0)