File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
A GitHub Action to install the Open Dylan compiler.
4
4
5
- To install the latest Open Dylan release:
5
+ To install the latest Open Dylan release on Linux or macOS (Windows not yet
6
+ supported):
6
7
7
8
``` yaml
8
- - uses : dylan-lang/install-opendylan@v1
9
+ - uses : dylan-lang/install-opendylan@v2
9
10
` ` `
10
11
11
12
To install a specific released version:
12
13
13
14
` ` ` yaml
14
- - uses : dylan-lang/install-opendylan@v1
15
+ - uses : dylan-lang/install-opendylan@v2
15
16
with :
16
17
version : 2020.1
17
18
tag : v2020.1.0
Original file line number Diff line number Diff line change 1
1
name : install-opendylan
2
- description : Install a specific version of Open Dylan
2
+ description : Install the Open Dylan compiler
3
3
inputs :
4
4
version :
5
5
required : false
20
20
shell : bash
21
21
run : |
22
22
echo "Installing Open Dylan..."
23
- curl -L -o opendylan.tar.bz2 https://github.com/dylan-lang/opendylan/releases/download/${OD_TAG}/opendylan-${OD_VERSION}-x86_64-linux.tar.bz2
23
+ env | sort # debug
24
+ os=linux
25
+ if [[ "$(uname -s)" == "Darwin" ]]; then
26
+ os=darwin
27
+ fi
28
+ curl -L -o opendylan.tar.bz2 https://github.com/dylan-lang/opendylan/releases/download/${OD_TAG}/opendylan-${OD_VERSION}-x86_64-${os}.tar.bz2
24
29
tar xfj opendylan.tar.bz2
25
30
ln -s opendylan-${OD_VERSION} opendylan
26
31
ln -s opendylan-${OD_VERSION}/bin/dylan-compiler
You can’t perform that action at this time.
0 commit comments