Skip to content

Releases: julia-actions/setup-julia

Add Julia 1.3.0 to version list

26 Nov 20:22
082493e

Choose a tag to compare

v1.0.1

Add production dependencies & build

Nightlies & stable interface!

25 Nov 14:05
f62b8f8

Choose a tag to compare

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 nightly to setup the latest nightly build of Julia.

Support version ranges as input version

20 Nov 19:08
e23d9ab

Choose a tag to compare

Breaking changes

  • The default Julia version if no input is specified is now 1, i.e. that latest stable release of Julia. Previously it was v1.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.0 is a valid semver version. The action will try to download exactly this version. If it's not available, the build step will fail.
  • 1.0 is a version range that will match the highest available Julia version that starts with 1.0, e.g. 1.0.5.
  • ^1.3.0-rc1 is a caret version range that includes preleases. It matches all versions ≥ 1.3.0-rc1 and < 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

21 Aug 14:45
a072d0b

Choose a tag to compare

v0.2.1

Fix version in README examples

32-bit Julia

21 Aug 14:18
5f6d33b

Choose a tag to compare

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

13 Aug 16:08
6ae948d

Choose a tag to compare

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).