i hate documenting #336
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 | |
on: | |
push: | |
branches: [main, experimental] | |
pull_request: | |
branches: [main, experimental] | |
workflow_dispatch: | |
jobs: | |
buildMac: | |
name: Release Build | |
runs-on: macos-15 | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- uses: krdlab/setup-haxe@master | |
with: | |
haxe-version: 4.3.4 | |
- name: Installing/Updating libraries | |
run: | | |
haxe -cp commandline -D analyzer-optimize --run Main setup -s | |
- name: Create Version Tag | |
run: echo "${{github.run_id}}" > VERSION | |
- name: Compile | |
run: haxelib run lime build mac --app-version="4.0.0-${{ github.run_id}}" | |
- name: Uploading artifact (entire build) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Astro Engine | |
path: export/release/macos/bin |