From f1d9b0d735efac4bf5a704cd9c36b03455565ab7 Mon Sep 17 00:00:00 2001 From: Quinten Stokkink Date: Tue, 4 Jun 2024 11:57:22 +0200 Subject: [PATCH] Fixed libsodium.dll cache locations --- .github/workflows/periodic_unittests.yml | 4 ++-- .github/workflows/pr-comment-validate.yml | 8 +------- .github/workflows/unittests.yml | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/periodic_unittests.yml b/.github/workflows/periodic_unittests.yml index bc1a40f420..89da111efa 100644 --- a/.github/workflows/periodic_unittests.yml +++ b/.github/workflows/periodic_unittests.yml @@ -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 @@ -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 diff --git a/.github/workflows/pr-comment-validate.yml b/.github/workflows/pr-comment-validate.yml index 56448d6614..2cfedbec72 100644 --- a/.github/workflows/pr-comment-validate.yml +++ b/.github/workflows/pr-comment-validate.yml @@ -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: | @@ -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') }} diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 373766fd7c..c9af4024d0 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -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