Skip to content

Commit

Permalink
Enable github action cache
Browse files Browse the repository at this point in the history
  • Loading branch information
LegalizeAdulthood committed Feb 18, 2024
1 parent 74c5312 commit 600ad9a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,18 @@ jobs:
windows-build:
runs-on: windows-latest

env:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"

steps:
- uses: actions/[email protected]
with:
submodules: true
- uses: actions/github-script@v6
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
- name: CMake workflow
run: cmake --workflow --preset default

0 comments on commit 600ad9a

Please sign in to comment.