Skip to content

Commit

Permalink
Merge pull request #20 from Saviq/patch-2
Browse files Browse the repository at this point in the history
Remove use of deprecated `add-path` command
  • Loading branch information
casperdcl authored Oct 13, 2020
2 parents 148f872 + bf8245d commit bbcff7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const runLinuxInstaller = () => {
run("sudo snap install lxd");
run(`sudo usermod --append --groups lxd ${process.env.USER}`);
}
run(`echo "::add-path::/snap/bin"`); // Add `/snap/bin` to PATH for subsequent actions
run(`echo /snap/bin >> ${process.env.GITHUB_PATH}`); // Add `/snap/bin` to PATH for subsequent actions
run("sudo chown root:root /"); // Fix root ownership
if (useLxd) {
run("sudo /snap/bin/lxd.migrate -yes");
Expand Down

0 comments on commit bbcff7d

Please sign in to comment.