mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-11 19:04:20 +00:00
unminify to debug
This commit is contained in:
parent
d9cc08588c
commit
8b7cadcf54
3 changed files with 15021 additions and 2 deletions
15020
dist/index.js
vendored
15020
dist/index.js
vendored
File diff suppressed because one or more lines are too long
|
@ -5,7 +5,7 @@
|
|||
"description": "GitHub Action for creating GitHub Releases",
|
||||
"main": "lib/main.js",
|
||||
"scripts": {
|
||||
"build": "ncc build src/main.ts --minify",
|
||||
"build": "ncc build src/main.ts",
|
||||
"test": "jest",
|
||||
"fmt": "prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"",
|
||||
"fmtcheck": "prettier --check \"src/**/*.ts\" \"__tests__/**/*.ts\""
|
||||
|
|
|
@ -136,6 +136,7 @@ export const upload = async (
|
|||
console.log(`⬆️ Uploading ${name}...`);
|
||||
const endpoint = new URL(url);
|
||||
endpoint.searchParams.append("name", name);
|
||||
console.log(`url`, endpoint);
|
||||
const resp = await fetch(endpoint, {
|
||||
headers: {
|
||||
"content-length": `${size}`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue