Skip to content

Commit 4c4cc6c

Browse files
committed
Test
1 parent 21da061 commit 4c4cc6c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,12 @@ jobs:
115115
with:
116116
script: |
117117
// Check if event is not a pull request or is a closed pull request
118-
console.log(`Event name: ${{ github.event_name }}, action: ${{ github.event.action }}, sha: ${{ github.sha }}`);
119-
if (github.event_name == 'pull_request_target' && github.event.action != 'closed') {
118+
/*
119+
if ('${{ github.event_name }}' == 'pull_request_target' && '${{ github.event.action }}' != 'closed') {
120120
console.log('Skipping cache cleanup');
121121
return;
122122
}
123+
*/
123124
124125
const ref = "${{ github.event.pull_request.number || github.ref }}";
125126
const cacheKeysPattern = `tests-bin-${ref}-`;
@@ -131,7 +132,7 @@ jobs:
131132
owner: context.repo.owner,
132133
repo: context.repo.repo,
133134
per_page: 100,
134-
key: cacheKeysPattern
135+
key: cacheKeysPattern + '*'
135136
});
136137
137138
if (caches.data) {

0 commit comments

Comments
 (0)