Skip to content

Repository files navigation

setup-haxe

License

This action sets up a Haxe environment for use in your workflows.

Usage

See action.yml and .github/workflows/.

Basic:

jobs:
build:
runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v5
- uses: ShadowEngineTeam/setup-haxe@mainwith:
haxe-version: 4.3.7
- run: | haxe -version haxelib install hxnodejs

For nigthly versions:

jobs:
build:
runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v5
- uses: ShadowEngineTeam/setup-haxe@mainwith:
haxe-version: latest # Install 'haxe_latest.tar.gz' from https://build.haxe.org/builds/haxe/linux64/
- run: haxe -version

Caching global packages data

jobs:
build:
runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v5
- uses: ShadowEngineTeam/setup-haxe@mainwith:
haxe-version: 4.3.7cache-dependency-path: 'lib.hxml'
- run: | haxe -version haxelib install lib.hxml --always

About

Set up a specific version of Haxe environment for your workflow.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages