this will do i think #42
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
name: MacOS Build | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
buildMac: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- uses: krdlab/setup-haxe@master | |
with: | |
haxe-version: latest | |
- name: Setup Haxe | |
run: | | |
haxelib setup ~/haxelib | |
haxelib install hxcpp > /dev/null --quiet | |
chmod +x docs/setup/setup.sh | |
sh docs/setup/setup.sh | |
- name: Create Version Tag | |
run: echo "${{github.run_id}}" > VERSION | |
- name: Compiling for Mac | |
run: haxelib run lime build mac --app-version="4.0.0-${{ github.run_id}}" | |
- name: Publish Artifact | |
uses: actions/upload-artifact@v4.3.4 | |
with: | |
name: Mac | |
path: export/release/macos/bin |