Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/krdlab/setup-haxe

Set up a specific version of Haxe environment for your workflow.
https://github.com/krdlab/setup-haxe

github-actions haxe

Last synced: 1 day ago
JSON representation

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

Awesome Lists containing this project

README

        

# setup-haxe

[![Build Status](https://github.com/krdlab/setup-haxe/actions/workflows/test.yml/badge.svg "GitHub Actions")](https://github.com/krdlab/setup-haxe/actions/workflows/test.yml)
[![License](https://img.shields.io/github/license/krdlab/setup-haxe.svg?label=license)](#license)

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

## Usage

See [action.yml](action.yml) and [.github/workflows/](.github/workflows/).

Basic:
```yaml
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:
```yaml
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:
```yaml
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
```