This action provides the following functionalities for GitHub Actions users:
- Installing a version of Jython and adding it to
PATH
- Customizing the installation path
steps:
- name: Install Jython
uses: LukeSavefrogs/setup-jython@v3
with:
jython-version: '2.5.2'
- run: jython -c 'import sys, os; print(os.name, sys.version)';
Specify the version of Jython to install. The value must be one of the versions listed in the Supported versions section.
Type | Required | Default |
---|---|---|
string | yes | - |
Specify the path where Jython will be installed. Please note that this is usually not needed, since the binaries are always added to PATH
anyway.
Type | Required | Default |
---|---|---|
string | no | ~/jython/ |
This action supports all versions (both stable and development releases) currently listed on the official repositories:
- SourceForge - Stable (
2.0
-2.5.2
) - SourceForge - Development (
2.5a1
-2.7.0a2
) - Maven (
2.5.3-rc1
-2.7.3
)
⚠️ WARNING⚠️ As of
v3
, Jython versions 2.0/2.1 work only onwindows-*
runners!See issue #1 for more info..