mirror of
https://github.com/crazy-max/ghaction-upx.git
synced 2024-11-21 18:06:08 -07:00
Update generated content
This commit is contained in:
parent
88a78e2f11
commit
3b3d2b898d
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
@ -4696,7 +4696,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
const httpm = __importStar(__webpack_require__(539));
|
const httpm = __importStar(__webpack_require__(539));
|
||||||
exports.getRelease = (version) => __awaiter(void 0, void 0, void 0, function* () {
|
exports.getRelease = (version) => __awaiter(void 0, void 0, void 0, function* () {
|
||||||
const url = `https://github.com/upx/upx/releases/${version !== 'latest' ? `v${version}` : version}`;
|
const url = `https://github.com/upx/upx/releases/${version}`;
|
||||||
const http = new httpm.HttpClient('ghaction-upx');
|
const http = new httpm.HttpClient('ghaction-upx');
|
||||||
return (yield http.getJson(url)).result;
|
return (yield http.getJson(url)).result;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user