mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-11-18 03:49:48 +00:00
reintroduce octokit retry and throttling plugins
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import fetch from "node-fetch";
|
||||
import { GitHub } from "@actions/github/lib/utils";
|
||||
import { Octokit } from "@octokit/action";
|
||||
import { Config, isTag, releaseBody } from "./util";
|
||||
import { statSync, readFileSync } from "fs";
|
||||
import { getType } from "mime";
|
||||
import { basename } from "path";
|
||||
|
||||
type GitHub = InstanceType<typeof GitHub>;
|
||||
type GitHub = InstanceType<typeof Octokit>;
|
||||
|
||||
export interface ReleaseAsset {
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user