Skip to content

Commit

Permalink
Add github-binarycache option to use built in cache
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwason committed Jan 18, 2024
1 parent d708206 commit bbb9e81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ runs:
working-directory: ${{ github.workspace }}\vcpkg
shell: powershell
run: |
mkdir $Env:VCPKG_DEFAULT_BINARY_CACHE
mkdir -Force $Env:VCPKG_DEFAULT_BINARY_CACHE
& "${{ github.workspace }}/vcpkg/vcpkg.exe" install --dry-run --triplet ${{ inputs.triplet }} ${{ inputs.extra-args }} ${{ inputs.pkgs }} | Tee-Object -FilePath vcpkg_dry_run.txt
env:
VCPKG_ROOT: "${{ github.workspace }}/vcpkg"
Expand All @@ -121,7 +121,7 @@ runs:
working-directory: ${{ github.workspace }}\vcpkg
shell: powershell
run: |
mkdir $Env:VCPKG_DEFAULT_BINARY_CACHE
mkdir -Force $Env:VCPKG_DEFAULT_BINARY_CACHE
& "${{ github.workspace }}/vcpkg/vcpkg.exe" install --dry-run --triplet ${{ inputs.triplet }} ${{ inputs.extra-args }} --x-manifest-root=${{ inputs.manifest-dir }} --x-install-root=${{ github.workspace }}\vcpkg\installed | Tee-Object -FilePath vcpkg_dry_run.txt
env:
VCPKG_ROOT: "${{ github.workspace }}/vcpkg"
Expand Down

0 comments on commit bbb9e81

Please sign in to comment.