GitHub Action to install juliaup
.
When you use this action, it will do three things:
juliaup
is available (downloading it if necessary).juliaup
to install the specified version of Julia.juliaup
and julia
to the PATH.To install the latest stable Julia v1:
- uses: julia-actions/install-juliaup@v2 with: channel: '1' # Your selected Julia version is now available in the PATH: - run: julia --version
To install a specific Julia version:
- uses: julia-actions/install-juliaup@v2 with: channel: '1.10.2'
In general, if juliaup add FOO
would have been a valid command on your local machine, then FOO
is a valid value for the channel
input to this action.
So, for example, suppose that you want alpha pre-releases for the next upcoming release. On your local machine, juliaup add alpha
is a valid command. Therefore, alpha
is a valid value for the channel
input to this action:
- uses: julia-actions/install-juliaup@v2 with: channel: 'alpha'
See the Juliaup README for more examples.
For example, suppose that your GitHub Actions workflow file includes a job matrix as such:
strategy: matrix: juliaup_channel: - 'lts' - '1.10' - '1' - 'nightly'
Then install-juliaup
can use this job matrix as follows:
- uses: julia-actions/install-juliaup@v2 with: channel: ${{ matrix.juliaup_channel }}
When the install-juliaup
action runs, it adds juliaup
to the PATH. Therefore, in subsequent steps, you can directly run juliaup
commands if you want:
- uses: julia-actions/install-juliaup@v2 with: channel: '1' - run: juliaup status - run: juliaup add 1.10 - run: juliaup update 1.10 - run: juliaup default 1.10 - run: juliaup statusUsing Dependabot version updates to keep your GitHub Actions up to date
We highly recommend that you set up Dependabot version updates on your repo to keep your GitHub Actions up to date.
To set up Dependabot version updates, create a file named .github/dependabot.yml
in your repo with the following contents:
version: 2 updates: - package-ecosystem: "github-actions" directory: "/" schedule: interval: "monthly" open-pull-requests-limit: 99 labels: - "dependencies" - "github-actions"
For more details on Dependabot version updates, see the GitHub Dependabot documentation.
Contributing to this repoPlease see the README in the devdocs
folder.
The internal-juliaup-version
input is a private internal and is not part of the public API of this action. Therefore, in a future non-breaking (minor or patch) release of this action, we are allowed to:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4