Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
package

GitHub Action

Setup Jython

v4

Setup Jython

package

Setup Jython

Set up a specific version of Jython and add the command-line tools to the PATH

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Jython

uses: LukeSavefrogs/setup-jython@v4

Learn more about this action in LukeSavefrogs/setup-jython

Choose a version

setup-jython

Jython tests Source download URLs status

This action provides the following functionalities for GitHub Actions users:

  • Installing a version of Jython and adding it to PATH
  • Customizing the installation path

Basic usage

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)';

Inputs

jython-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 -

installation-path

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/

Supported versions

This action supports all versions (both stable and development releases) currently listed on the official repositories:

Warning

As of v3, Jython versions 2.0/2.1 work only on windows-* runners!

See issue #1 for more info..