feature: devcontainerの構成を追加 & .gitignoreをPythonとJetBrains用に修正 #44
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: 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 |