Merge branch 'main' of github.com:CHNZYX/Auto_Simulated_Universe #106
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: Debug build | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: ~ | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.8 | |
- name: Build | |
run: | | |
pip install -r requirements.txt | |
pyinstaller --uac-admin -F --i imgs/icon.ico gui.py | |
xcopy imgs dist\imgs /I /E | |
ren dist AutoSimulatedUniverse | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: AutoSimulatedUniverse | |
path: AutoSimulatedUniverse |