From ce08afc365a12ed9b735934f8f0b4a8e36e8e68b Mon Sep 17 00:00:00 2001 From: George Kurelic Date: Wed, 10 Apr 2024 10:38:21 -0500 Subject: [PATCH] Update CI (#47) * Update CI * fix order --- .github/workflows/main.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ee5ea3e..0aa0a90 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,21 +6,32 @@ jobs: build: strategy: matrix: - haxe-version: ["4.0.5", stable, nightly] + haxe-version: ["4.2.5", "4.3.3", latest] target: [html5, hl, neko, flash] exclude: - {haxe-version: nightly, target: html5} fail-fast: false runs-on: ubuntu-latest steps: - - uses: lix-pm/setup-lix@master - - uses: actions/checkout@v2 - - run: haxelib dev flixel-templates . - - uses: HaxeFlixel/setup-flixel@master + - run: sudo apt-get update + - uses: actions/checkout@v3 + + - uses: krdlab/setup-haxe@v1 with: haxe-version: ${{matrix.haxe-version}} + + - name: "Configure Haxelib" + run: | + haxelib setup /home/runner/haxe/haxelib/ + haxelib install haxelib 4.0.3 + haxelib dev flixel-templates . + + - uses: HaxeFlixel/setup-flixel@v1 + with: + haxe-version: current flixel-versions: dev target: ${{matrix.target}} + - run: | cd ${{env.HAXELIB_REPO}}/flixel-tools/git npm install