Skip to content

Commit

Permalink
And fix download folder name
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb committed Jun 13, 2021
1 parent 0ae8947 commit a59dbf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function action () {
if (!k6Path) {
const k6Download = await tc.downloadTool(`https://github.com/k6io/k6/releases/download/v${k6Version}/k6-v${k6Version}-linux-amd64.tar.gz`)
const k6ExtractedFolder = await tc.extractTar(k6Download)
const k6Root = path.join(k6ExtractedFolder, `k6-v${k6Version}-linux64`)
const k6Root = path.join(k6ExtractedFolder, `k6-v${k6Version}-linux-amd64`)
k6Path = await tc.cacheDir(k6Root, 'k6', k6Version)
}
core.addPath(k6Path)
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11776,7 +11776,7 @@ async function action () {
if (!k6Path) {
const k6Download = await tc.downloadTool(`https://github.com/k6io/k6/releases/download/v${k6Version}/k6-v${k6Version}-linux-amd64.tar.gz`)
const k6ExtractedFolder = await tc.extractTar(k6Download)
const k6Root = path.join(k6ExtractedFolder, `k6-v${k6Version}-linux64`)
const k6Root = path.join(k6ExtractedFolder, `k6-v${k6Version}-linux-amd64`)
k6Path = await tc.cacheDir(k6Root, 'k6', k6Version)
}
core.addPath(k6Path)
Expand Down

0 comments on commit a59dbf3

Please sign in to comment.