Skip to content

Commit 075702b

Browse files
log
1 parent 1663eb6 commit 075702b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.dispatch.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ jobs:
1616
id: validate-release
1717
with:
1818
script: |
19-
// the "core" module does not have access to workflow_dispatch inputs
19+
/** the "core" module does not have access to workflow_dispatch inputs */
2020
const tag = '${{ inputs.release_tag }}';
2121
22+
/** Releases don't have a guaranteed order, so we'll have to paginate */
2223
let exhausted = false;
2324
let page = 1;
2425
while (!exhausted) {
@@ -29,6 +30,8 @@ jobs:
2930
per_page: 100,
3031
});
3132
33+
console.log(releases)
34+
3235
const matchingRelease = releases.find(r => r.tag_name === tag);
3336
if (matchingRelease) {
3437
core.setOutput('hasRelease', true);

0 commit comments

Comments
 (0)