Skip to content

Setup Jython

Actions

About

Set up a specific version of Jython and add the command-line tools to the PATH
v5.1.0
Latest
Star (1)

setup-jython

Jython testsSource 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
  • Cache the installed Jython binaries for faster setup

Basic usage

steps:
- name: Install Jythonuses: LukeSavefrogs/setup-jython@v3with:
jython-version: '2.5.2'
- name: Run individual commandsrun: jython -c 'import sys, os; print(os.name, sys.version)';
- name: Run a specific scriptrun: jython /path/to/script.py

Inputs

jython-version

Specify the version of Jython to install. The value must be one of the versions listed in the Supported versions section.

TypeRequiredDefault
stringyes-

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.

TypeRequiredDefault
stringno~/jython/

Outputs

download-url

The URL from which the Jython installer was downloaded.

cache-hit

Boolean value that indicates whether a cache hit occurred on the primary key.

Supported versions

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

Setup Jython is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

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

Setup Jython is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.