This repository has been archived by the owner on Sep 10, 2024. It is now read-only.
HScript support lol #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: Build Windows | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
# 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 | |
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 windows -32 --app-version="4.0.0-${{ github.run_id}}" # FEEL FREE TO REMOVE THE "-32" LOL | |
- name: Publish Artifact | |
uses: actions/[email protected] | |
with: | |
name: WindowsBuild | |
path: export/release/windows/bin |