diff --git a/.github/workflows/clear-cache-cron.yml b/.github/workflows/clear-cache-cron.yml index 25b4331..cfbd1dc 100644 --- a/.github/workflows/clear-cache-cron.yml +++ b/.github/workflows/clear-cache-cron.yml @@ -8,6 +8,9 @@ jobs: name: Clear cache runs-on: ubuntu-latest steps: - - uses: MyAlbum/purge-cache@v1 + + - uses: MyAlbum/purge-cache@v2 with: - max-age: 604800 # Cache max 7 days since last use (this is the default) + accessed: true # Purge caches by their last accessed time (default) + created: false # Purge caches by their created time (default) + max-age: 604800 # Leave only caches accessed in the last 7 days (default) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 35a3816..fc9fb3c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -87,7 +87,7 @@ jobs: - if: matrix.language == 'cpp' name: Setup vcpkg - uses: lukka/run-vcpkg@v10.0 + uses: lukka/run-vcpkg@v11 with: vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}