Skip to content

Commit

Permalink
Fix the filename of the vcpkg manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
bifurcation committed Nov 3, 2023
1 parent af62b68 commit 8f7d95f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/actions/prepare-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,19 @@ inputs:
runs:
using: "composite"
steps:
- name: Capture vcpkg revision for use in cache key
- name: Capture vcpkg revision and manifest for use in cache key
shell: bash
run: |
git -C vcpkg rev-parse HEAD > vcpkg_commit.txt
git -C vcpkg rev-parse HEAD > vcpkg_commit.txt
cp "${{ inputs.crypto-dir }}/vcpkg.json" vcpkg_manifest.txt
- name: Restore cache
uses: actions/cache@v3
with:
path: ${{ inputs.cache-dir }}
key: v01-vcpkg-${{ inputs.os }}-${{ hashFiles('vcpkg_commit.txt', '${{ inputs.crypto-dir }}/vcpkg.json') }}
key: v01-vcpkg-${{ inputs.os }}-${{ hashFiles('vcpkg_commit.txt', 'vcpkg_manifest.txt') }}
restore-keys: |
v01-vcpkg-${{ runner.os }}
v01-vcpkg-${{ inputs.os }}
- name: Install dependencies (macOS)
if: ${{ runner.os == 'macOS' }}
Expand Down

0 comments on commit 8f7d95f

Please sign in to comment.