Skip to content

Commit

Permalink
Try using cache
Browse files Browse the repository at this point in the history
  • Loading branch information
michalchecinski committed Apr 12, 2024
1 parent 48b80ea commit cc6990c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,23 @@ jobs:
brew install nlohmann-json
brew install boost
- name: Export GitHub Actions cache environment variables
if: runner.os == 'Windows'
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: Install libraries for Windows
if: runner.os == 'Windows'
env:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
run: |
vcpkg install boost
vcpkg install nlohmann-json
shell: pwsh

- name: list C:/vcpkg/buildtrees
run: |
Get-ChildItem -Recurse C:\vcpkg\installed\x64-windows\include\
Get-ChildItem -Recurse C:\vcpkg\installed\x64-windows\lib\
if: runner.os == 'Windows'

- name: List C:/vcpkg/packages
run: Get-ChildItem -Recurse C:/vcpkg/packages
if: runner.os == 'Windows'

- name: Download schemas
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
Expand Down

0 comments on commit cc6990c

Please sign in to comment.