Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Build Windows HashLink #10

Build Windows HashLink

Build Windows HashLink #10

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Build Windows HashLink
# Controls when the action will run.
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
buildWindows:
runs-on: windows-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/[email protected]
- uses: krdlab/setup-haxe@master
with:
haxe-version: 4.2.5
# Runs a set of commands using the runners shell
- name: Install Haxelib
run: |
haxelib setup C:/haxelib
haxelib install lime 7.9.0
haxelib install openfl
haxelib --never install flixel 4.11.0
haxelib run lime setup flixel
haxelib git polymod https://github.com/larsiusprime/polymod
haxelib run lime setup -y
haxelib install flixel-tools
haxelib install flixel-addons 2.11.0
haxelib install flixel-ui
lime setup hl -y
haxelib set flixel 4.11.0
haxelib set lime 7.9.0
haxelib set flixel-addons 2.11.0
haxelib list
shell: cmd
- name: Create Version Tag
run: echo "${{github.run_id}}" > VERSION
- name: Compile
run: haxelib run lime build hl --app-version="4.0.0-${{ github.run_id}}"
- name: Publish Artifact
uses: actions/[email protected]
with:
name: WindowsBuild-HashLink
path: export/release/hl/bin