Skip to content

Commit

Permalink
Run juliaup update CHANNEL (after running juliaup add CHANNEL and…
Browse files Browse the repository at this point in the history
… before running `juliaup default CHANNEL`) (#22)

* Run `juliaup update CHANNEL` (after running `juliaup add CHANNEL` and before running `juliaup default CHANNEL`)

* Run `make everything-from-scratch`
  • Loading branch information
DilumAluthge authored Apr 5, 2024
1 parent 9ec42ba commit 805cacf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ async function install_desired_julia_version(info) {
const julia_version = inputs.get_julia_version_input();
const juliaup = platform.get_juliaup(info);
await exec.exec(juliaup, ['add', `${julia_version}`]);
await exec.exec(juliaup, ['update', `${julia_version}`]);
await exec.exec(juliaup, ['default', `${julia_version}`]);
return;
}
Expand Down
1 change: 1 addition & 0 deletions lib/julia.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/julia.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/julia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export async function install_desired_julia_version(info: { juliaup_dir: string}
const juliaup = platform.get_juliaup(info)

await exec.exec(juliaup, ['add', `${julia_version}`])
await exec.exec(juliaup, ['update', `${julia_version}`])
await exec.exec(juliaup, ['default', `${julia_version}`])

return
Expand Down

0 comments on commit 805cacf

Please sign in to comment.