mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-10 10:44:19 +00:00
Merge 7363371ffd
into fe9a9bd329
This commit is contained in:
commit
23b38bea47
2 changed files with 3 additions and 4 deletions
|
@ -46,8 +46,7 @@ inputs:
|
|||
append_body:
|
||||
description: "Append existed body instead of overrites. Default is false."
|
||||
required: false
|
||||
env:
|
||||
"GITHUB_TOKEN": "As provided by Github Actions"
|
||||
|
||||
outputs:
|
||||
url:
|
||||
description: "URL to the Release HTML Page"
|
||||
|
|
|
@ -6,9 +6,9 @@ import {
|
|||
uploadUrl
|
||||
} from "./util";
|
||||
import { release, upload, GitHubReleaser } from "./github";
|
||||
import * as core from "@actions/core";
|
||||
import { getOctokit } from "@actions/github";
|
||||
import { setFailed, setOutput } from "@actions/core";
|
||||
import { GitHub, getOctokitOptions } from "@actions/github/lib/utils";
|
||||
|
||||
import { env } from "process";
|
||||
|
||||
|
@ -37,7 +37,7 @@ async function run() {
|
|||
// require("@octokit/plugin-retry")
|
||||
// );
|
||||
|
||||
const gh = getOctokit(config.github_token, {
|
||||
const gh = getOctokit(core.getInput('token'), {
|
||||
//new oktokit(
|
||||
throttle: {
|
||||
onRateLimit: (retryAfter, options) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue