Skip to content

Commit b5f9b2c

Browse files
committed
test
1 parent 4e605fd commit b5f9b2c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,12 @@ jobs:
126126
}
127127
*/
128128
129-
let caches = null;
130-
const sleep = ms => new Promise(r => setTimeout(r, ms));
131129
const sha = '${{ github.event.pull_request.head.sha || github.sha }}';
132130
const pr = '${{ github.event.pull_request.number }}';
133131
const ref = '${{ github.event.pull_request.number || github.ref }}';
134132
const regex = new RegExp("^tests-[\\w]+-"+ref+"-", "m"); // Match "tests-<type>-<ref>-" in cache key
135133
136-
console.log(`PR: ${pr}, SHA: ${sha}`);
134+
console.log(`ref: ${ref}, SHA: ${sha}`);
137135
138136
await github.paginate(github.rest.actions.getActionsCacheList, {
139137
owner: context.repo.owner,
@@ -152,13 +150,11 @@ jobs:
152150
153151
console.log(`Deleting cache: ${cache.key}`);
154152
155-
/*
156153
github.rest.actions.deleteActionsCacheById({
157154
owner: context.repo.owner,
158155
repo: context.repo.repo,
159156
cache_id: cache.id
160157
});
161-
*/
162158
}
163159
}
164160
});

0 commit comments

Comments
 (0)