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

Marketplace Pre-release

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@Marketplace

Learn more about this action in LukeSavefrogs/setup-jython

Choose a version

setup-jython

This action provides the following functionality for GitHub Actions users:

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

Basic usage

steps:
- uses: actions/checkout@v3

- name: Install Jython
  uses: LukeSavefrogs/setup-jython@v1
  with:
    jython-version: '2.5.2'
    installation-path: '~/jython/'   # Default

- run: jython -c 'import sys, os; print(os.name, sys.version)';

Supported versions

This action supports all versions currently listed on the official repositories:

NOTE

As of v1, this action does not support Jython 2.0 and 2.1!