File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -97,25 +97,18 @@ jobs:
9797 bundler : none
9898 windows-toolchain : none
9999
100- - uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
100+ - name : Export GitHub Actions cache environment variables
101+ uses : actions/github-script@v7
101102 with :
102- path : C:\vcpkg\downloads
103- key : ${{ runner.os }}-vcpkg-download-${{ env.OS_VER }}-${{ github.sha }}
104- restore-keys : |
105- ${{ runner.os }}-vcpkg-download-${{ env.OS_VER }}-
106- ${{ runner.os }}-vcpkg-download-
107-
108- - uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
109- with :
110- path : C:\vcpkg\installed
111- key : ${{ runner.os }}-vcpkg-installed-${{ env.OS_VER }}-${{ github.sha }}
112- restore-keys : |
113- ${{ runner.os }}-vcpkg-installed-${{ env.OS_VER }}-
114- ${{ runner.os }}-vcpkg-installed-
103+ script : |
104+ core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
105+ core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
115106
116107 - name : Install libraries with vcpkg
117108 run : |
118109 vcpkg --triplet x64-windows install gmp libffi libyaml openssl zlib
110+ env :
111+ VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
119112
120113 - name : Install libraries with scoop
121114 run : |
You can’t perform that action at this time.
0 commit comments