Merge pull request #6 from hexianga/patch-1

ossutil version upgrade
This commit is contained in:
EnokMan
2021-09-14 23:15:02 +08:00
committed by GitHub
+2 -2
View File
@@ -4,7 +4,7 @@ const toolCache = require("@actions/tool-cache");
const path = require("path");
const fs = require("fs");
const url = "http://gosspublic.alicdn.com/ossutil/1.6.7/ossutil64";
const url = "http://gosspublic.alicdn.com/ossutil/1.7.7/ossutil64";
async function main() {
const ENDPOINT = core.getInput("endpoint");
@@ -12,7 +12,7 @@ async function main() {
const ACCESS_KEY_SECRET = core.getInput("access-key-secret");
const STS_TOKEN = core.getInput("sts-token");
let toolPath = toolCache.find("ossutil", "1.6.7");
let toolPath = toolCache.find("ossutil", "1.7.7");
if (!toolPath) {
core.info(`downloading from ${url}`);