Add prototype action using exec and curl

* Downloads a fixed version Julia binary using curl
* Adds it to PATH
* Runs `julia --version` to test the installation
This commit is contained in:
Sascha Mann
2019-08-13 01:13:12 +02:00
parent d3bf4c48c9
commit 7961e4e3f2
8 changed files with 102 additions and 30 deletions

View File

@@ -1,10 +1,10 @@
name: 'Node 12 Template Action'
description: 'Get started with Node actions'
author: 'GitHub'
name: 'Setup Julia environment'
description: 'Setup a Julia environment and add it to the PATH'
author: 'Sascha Mann <git@mail.saschamann.eu>'
inputs:
myInput:
description: 'Input to use'
default: 'world'
version:
description: 'The Julia version to download (if necessary) and use. Example: 1.0'
default: '1.0'
runs:
using: 'node12'
main: 'lib/main.js'
main: 'lib/setup-julia.js'