Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
download

GitHub Action

Setup Haxe environment

v1.4.0

Setup Haxe environment

download

Setup Haxe environment

Setup a Haxe environment and add it to the PATH

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Haxe environment

uses: krdlab/[email protected]

Learn more about this action in krdlab/setup-haxe

Choose a version

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.2.5
      - 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