Skip to content

Commit

Permalink
fixup! Chore(ci): Clear cache after testing
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Sep 30, 2024
1 parent fe5dfd2 commit 389dd67
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
path: ./
key: repository-builds-cache-${{ hashFiles('.*') }}

- name: Save Cache Key
id: save-cache-key
run: echo "::set-output name=cache-key::${{ steps.save-repository-cache.outputs.cache-key }}"

lint:
name: 📐 Code Linting
needs: [install-build]
Expand Down Expand Up @@ -165,7 +169,7 @@ jobs:
github.rest.actions.deleteActionsCacheById({
owner: context.repo.owner,
repo: context.repo.repo,
cache_id: steps.save-repository-cache.outputs.cache-key,
cache_id: needs.install-build.outputs.cache-key,
});
console.log("Clear completed");

0 comments on commit 389dd67

Please sign in to comment.