Skip to content

Commit

Permalink
Resolve forbidden movement
Browse files Browse the repository at this point in the history
This will either break everything or solve an EXDEV problem.

dist/index.js | 3 +--
index.js      | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
  • Loading branch information
matootie committed May 21, 2020
1 parent dcb2e1e commit 58cb483
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2554,13 +2554,12 @@ async function run() {

// Download and install kubectl.
const kubectl = await tc.downloadTool(`https://storage.googleapis.com/kubernetes-release/release/v${kubectlVersion}/bin/linux/amd64/kubectl`);
await io.mv(kubectl, `${workdir}/kubectl`);

// Set KUBECONFIG environment variable.
core.exportVariable('KUBECONFIG', `${workdir}/kubeconfig`);

// Add kubectl to PATH.
core.addPath(`${workdir}/kubectl`);
core.addPath(`${kubectl}`);
}
catch (error) {
core.setFailed(error.message);
Expand Down
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,12 @@ async function run() {

// Download and install kubectl.
const kubectl = await tc.downloadTool(`https://storage.googleapis.com/kubernetes-release/release/v${kubectlVersion}/bin/linux/amd64/kubectl`);
await io.mv(kubectl, `${workdir}/kubectl`);

// Set KUBECONFIG environment variable.
core.exportVariable('KUBECONFIG', `${workdir}/kubeconfig`);

// Add kubectl to PATH.
core.addPath(`${workdir}/kubectl`);
core.addPath(`${kubectl}`);
}
catch (error) {
core.setFailed(error.message);
Expand Down

0 comments on commit 58cb483

Please sign in to comment.