Releases: julia-actions/setup-julia
Add Julia 1.3.0 to version list
v1.0.1 Add production dependencies & build
Nightlies & stable interface!
The interface of the Action is now stable and (mostly) complete. You should not have to add anything to your workflow files anymore unless new versions of Julia are released.
Breaking changes
- The directory Julia is installed in on macOS and Linux changed. It's now installed to
$HOME/julia.
Changes
- You can now use the version
nightlyto setup the latest nightly build of Julia.
Support version ranges as input version
Breaking changes
- The default Julia version if no input is specified is now
1, i.e. that latest stable release of Julia. Previously it wasv1.0.4
Changes
You can now specify version ranges, so the highest available Julia version that matches the range will be selected. Check the README for more information.
Examples
1.2.0is a valid semver version. The action will try to download exactly this version. If it's not available, the build step will fail.1.0is a version range that will match the highest available Julia version that starts with1.0, e.g.1.0.5.^1.3.0-rc1is a caret version range that includes preleases. It matches all versions≥ 1.3.0-rc1and< 1.4.0.
WARNING: Version ranges are experimental and potentially out of date
Currently the list of available versions is hardcoded. You have to use the latest version of the action to be able to install the latest Julia versions. Once available we will use a list of versions provided on julialang.org.
Update examples to v0.2
v0.2.1 Fix version in README examples
32-bit Julia
v0.2.0
Versioning guidelines
Check the README for information on how versions of this action will be tagged.
32-bit Julia
It's now possible to setup 32-bit Julia on Linux and Windows:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: [1.0.4, 1.1.1, 1.2.0-rc3, 1.3.0-alpha]
julia-arch: [x64, x86]
os: [ubuntu-latest, windows-latest, macOS-latest]
# 32-bit Julia binaries are not available on macOS
exclude:
- os: macOS-latest
julia-arch: x86
steps:
- uses: actions/checkout@v1.0.0
- name: "Set up Julia"
uses: julia-actions/setup-julia@v0.1.0
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- run: julia -e 'println("Hello, World!")'Initial release
This action sets up a Julia environment for use in actions by download a specified version of Julia and adding it to PATH.
Warning
This action will likely be updated quite frequently in the near future. I'm sharing it now so that others who want to try out Julia on GitHub actions can do so without relying on Docker.
DO NOT USE THIS AS YOUR ONLY FORM OF CI (yet).