Skip to content

Commit

Permalink
Fixed libsodium.dll cache locations
Browse files Browse the repository at this point in the history
  • Loading branch information
qstokkink committed Jun 4, 2024
1 parent a2b437d commit f1d9b0d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/periodic_unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/cache/restore@v4
id: restore_cache
with:
path: libsodium.dll
path: src/libsodium.dll
key: cache_libsodium_dll
- run: python -m pip install -r requirements.txt
- name: Run unit tests
Expand All @@ -29,5 +29,5 @@ jobs:
- uses: actions/cache/save@v4
if: always() # Even if the tests fail or the job is cancelled, the cache should be refreshed
with:
path: libsodium.dll
path: src/libsodium.dll
key: cache_libsodium_dll
8 changes: 1 addition & 7 deletions .github/workflows/pr-comment-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
if: matrix.os == 'windows-latest'
id: restore_cache
with:
path: libsodium.dll
path: src/libsodium.dll
key: cache_libsodium_dll
- run: python -m pip install -r requirements.txt
- run: |
Expand All @@ -40,12 +40,6 @@ jobs:
python run_unit_tests.py -a
env:
TEST_IPV8_WITH_IPV6: 1
- uses: actions/cache/save@v4
if: matrix.os == 'windows-latest'
id: save_cache
with:
path: libsodium.dll
key: cache_libsodium_dll
set_pending_status:
if: ${{github.event.issue.pull_request && startsWith(github.event.comment.body, 'validate') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/cache/restore@v4
id: restore_cache
with:
path: libsodium.dll
path: src/libsodium.dll
key: cache_libsodium_dll
- run: python -m pip install -r requirements.txt
- name: Run unit tests
Expand Down

0 comments on commit f1d9b0d

Please sign in to comment.