Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/krdlab/setup-haxe
- Owner: krdlab
- License: mit
- Created: 2020-03-03T15:55:51.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-22T05:44:08.000Z (5 months ago)
- Last Synced: 2024-10-14T13:02:42.938Z (3 months ago)
- Topics: github-actions, haxe
- Language: TypeScript
- Homepage:
- Size: 740 KB
- Stars: 37
- Watchers: 4
- Forks: 9
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```