Skip to content

Files

Latest commit

4caef73 · Jun 10, 2025

History

History
51 lines (45 loc) · 1.05 KB

README.md

File metadata and controls

51 lines (45 loc) · 1.05 KB

setup-haxe

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: actions/checkout@v4
      - uses: FunkinCrew/ci-haxe@v3
        with:
          haxe-version: 4.3.7
      - run: |
          haxe -version
          haxelib install hxnodejs

For nigthly versions:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: FunkinCrew/ci-haxe@v3
        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: actions/checkout@v4
      - uses: FunkinCrew/ci-haxe@v3
        with:
          haxe-version: 4.3.7
          cache-dependency-path: 'lib.hxml'
      - run: |
          haxe -version
          haxelib install lib.hxml --always