From 5adadbfc46047dbcaadef4a6c8eb3c0a81f17b1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Wei=C3=9F?= <72068105+Sandoun@users.noreply.github.com> Date: Fri, 16 Jun 2023 14:24:16 +0200 Subject: [PATCH] fixed caching --- .github/workflows/publish-pipeline.yml | 6 ++++-- .github/workflows/test-pipeline.yml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-pipeline.yml b/.github/workflows/publish-pipeline.yml index a644a78..4c781d7 100644 --- a/.github/workflows/publish-pipeline.yml +++ b/.github/workflows/publish-pipeline.yml @@ -62,9 +62,11 @@ jobs: asset_content_type: application/zip - name: Load cached test results - uses: actions/cache@v3 + uses: actions/cache/restore@v3 with: - restore-keys: coverage-xml + key: coverage-xml + path: | + '${{ github.workspace }}/MewtocolTests/coverage.opencover.xml' - name: 'Upload coverage xml to latest release' uses: actions/upload-release-asset@v1 diff --git a/.github/workflows/test-pipeline.yml b/.github/workflows/test-pipeline.yml index 5eec664..1bb315e 100644 --- a/.github/workflows/test-pipeline.yml +++ b/.github/workflows/test-pipeline.yml @@ -50,7 +50,7 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Cache test results - uses: actions/cache@v3 + uses: actions/cache/save@v3 with: key: coverage-xml path: |