Skip to content

Commit

Permalink
ci: verify that we can write into non-empty directory _and cache_
Browse files Browse the repository at this point in the history
We just implemented the workaround where the `.zip` file is cached when
extracting into a non-empty directory (because we obviously do not want
to cache the entire directory including the already-existing files).

Let's add a CI test for this.

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Mar 27, 2021
1 parent 7019ae6 commit 59dc940
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: microsoft/vcpkg
path: compat/vcbuild/vcpkg
clean: false
- name: Run this Action in-place
uses: ./
with:
Expand All @@ -51,4 +56,4 @@ jobs:
stripPrefix: compat/vcbuild/vcpkg/
- name: Verify that the artifact files were downloaded
shell: bash
run: compat/vcbuild/vcpkg/vcpkg.exe version
run: compat/vcbuild/vcpkg/vcpkg.exe version && ls -la compat/vcbuild/vcpkg/.git

0 comments on commit 59dc940

Please sign in to comment.