A GitHub Action to install the Open Dylan compiler (dylan-compiler
) and
dylan
tool.
To install the latest Open Dylan release on Linux or macOS (Windows not yet supported):
- uses: dylan-lang/install-opendylan@v3
To install a specific released version:
- uses: dylan-lang/install-opendylan@v3
with:
version: 2020.1
tag: v2020.1.0
version
is the version number used in the top-level Open Dylan directory when
unpacked from the tarball.
tag
is the exact tag identifying the GitHub release, including the leading
"v".
Important: This Action must be used after
actions/checkout@v2 when using the
default path:
(i.e., the current directory) because actions/checkout@v2
deletes everything in the repo directory first.
When this Action has completed the following artifacts exist:
-
A directory containing the
dylan-compiler
anddylan
executable binaries has been added to thePATH
. -
${GITHUB_WORKSPACE}/../opendylan
is a symbolic link pointing to the Open Dylan installation directory.
Note: Files are installed outside of ${GITHUB_WORKSPACE}
so that they
won't be deleted by the "checkout" GitHub action and so that they aren't
included by the dylan update
command when generating registry files.
See the hello repository for the canonical example of how to use this Action.