Skip to content

feature: devcontainerの構成を追加 & .gitignoreをPythonとJetBrains用に修正 #44

feature: devcontainerの構成を追加 & .gitignoreをPythonとJetBrains用に修正

feature: devcontainerの構成を追加 & .gitignoreをPythonとJetBrains用に修正 #44

Workflow file for this run

name: Build for macOS
on:
push:
branches:
- 'dev'
jobs:
build-macos:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12.0'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --no-cache-dir pyzipper requests pyinstaller TkEasyGUI openai
- name: Create dist directory
run: mkdir -p ./dist
- name: Build with PyInstaller
run: |
pyinstaller main.py \
--onedir --onefile --clean --console \
--distpath ./dist \
--workpath ./build \
--specpath ./
- name: Check Artifacts
run: ls -R ./dist
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: minecraft-mods-localizer-macos
path: ./dist/main