Skip to content

commit this new code #130

commit this new code

commit this new code #130

Workflow file for this run

name: macOS Apple Silicon CI
on:
push:
pull_request:
jobs:
build-win32:
name: "macOS Apple Silicon Build"
runs-on: macos-14
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install PIP Modules
run: python -m pip install -r requirements.txt
- name: Build Project
run: pyinstaller --onefile main.py --add-data "assets/eventTags/*:assets/eventTags/" --add-data "assets/icons/*:/icons/" --add-data "assets/items/*:assets/items/" --add-data "assets/logos/*:assets/logos/" --add-data "assets/operation/*:assets/operation/" --add-data "dependencies/darwin_arm64/*:dependencies/win32/" --add-data "dependencies/bin/*:dependencies/darwin/bin/" --name="Mario Party Toolkit" -w --icon="assets/icons/diceBlock.ico"
- name: Purge Files
run: cd "/Users/runner/work/Mario-Party-Toolkit/Mario-Party-Toolkit/dist/" && rm "Mario Party Toolkit"
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: MarioPartyToolkit-darwin_arm64
path: /Users/runner/work/Mario-Party-Toolkit/Mario-Party-Toolkit/dist