Skip to content

Commit

Permalink
Fix download path
Browse files Browse the repository at this point in the history
  • Loading branch information
lnsp committed Apr 26, 2020
1 parent 5f36227 commit 6d6178b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function installValar() {
core.debug(`Tool found in cache ${toolPath}`);
}
else {
let url = "https://github.com/valar/cli/releases/v1.0.0/download/valar_linux_amd64";
let url = "https://github.com/valar/cli/releases/download/v1.0.0/valar_linux_amd64";
let path = yield tc.downloadTool(url);
yield exec.exec('chmod', ['+x', path]);
toolPath = yield tc.cacheFile(path, 'valar', 'Valar', '1.0.0', arch);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "valar-action",
"version": "1.0.6",
"version": "1.0.7",
"private": true,
"description": "GitHub Action for Valar",
"main": "lib/main.js",
Expand Down
2 changes: 1 addition & 1 deletion src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function installValar() {
if (toolPath) {
core.debug(`Tool found in cache ${toolPath}`);
} else {
let url = "https://github.com/valar/cli/releases/v1.0.0/download/valar_linux_amd64";
let url = "https://github.com/valar/cli/releases/download/v1.0.0/valar_linux_amd64";
let path = await tc.downloadTool(url);
await exec.exec('chmod', ['+x', path]);
toolPath = await tc.cacheFile(path, 'valar', 'Valar', '1.0.0', arch);
Expand Down

0 comments on commit 6d6178b

Please sign in to comment.