Skip to content

Setup Haxe environment

Actions
Setup a Haxe environment and add it to the PATH
v1.5.1
Latest
Star (38)

Tags

 (1)

setup-haxe

Build Status 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-latest
    steps:
      - uses: krdlab/setup-haxe@v1
        with:
          haxe-version: 4.3.4
      - run: |
          haxe -version
          haxelib install hxnodejs

For nigthly versions:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: krdlab/setup-haxe@v1
        with:
          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-latest
    steps:
      - uses: krdlab/setup-haxe@v1
        with:
          haxe-version: 4.3.4
          cache-dependency-path: 'lib.hxml'
      - run: |
          haxe -version
          haxelib install lib.hxml --always

Setup Haxe environment 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

Setup a Haxe environment and add it to the PATH
v1.5.1
Latest

Tags

 (1)

Setup Haxe environment 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.