Skip to content

Commit 943585e

Browse files
Fix endpoint parameter
1 parent d941607 commit 943585e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/nightly/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/nightly/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nightly/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const core = require('@actions/core');
66
async function getLatestNightlyVersion() {
77
const token = core.getInput('token');
88
const octokit = github.getOctokit(token);
9-
for await (const response of octokit.paginate.iterator(octokit.repos.listReleases, {
9+
for await (const response of octokit.paginate.iterator("GET /repos/{owner}/{repo}/releases", {
1010
owner: 'swiftwasm',
1111
repo: 'swift',
1212
})) {

0 commit comments

Comments
 (0)