All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add installer and jython binaries caching
- Add
cache-hit
output value, which is set totrue
if the Jython data/binaries are retrieved from cache.
- Now it is possible to use Jython 2.0 and 2.1 on
ubuntu
andmacos
runners! - Added support for Powershell on all runners (previously only on
windows
runners) - Added support for Windows Command Prompt (
cmd
) on windows runners. Notice that because of how thecmd
handles single quotes it only works if no single quotes are used to enclose parameters:jython.bat -c "print 'Hello world'"
will work, whilejython.bat -c 'print "Hello world"'
will not.
Tests:
- Add tests for Bourne shell (
sh
), Windows Command Prompt (cmd
) on Windows runners and Powershell (pwsh
orpowershell
)
- Renamed
jython.bat
tojython.ps1
. To use Jython on the powershell now you have to specifically calljython.ps1
- Fix Jython not working on PowerShell for Windows runners by @ZZy979 in #11
- Fix action failing on macos runners (updated Java 8 distribution to Zulu), add missing shebang by @ZZy979 in #10
- Renamed action output
jython-download-url
todownload-url
- Support for Jython 2.0 and 2.1 (only on
windows-*
runners, see #1) - Exit with error when provided Jython version does not exist
download-url
description now do not have a placeholder text but actually holds meaningful info