diff options
| author | 2023-06-28 20:01:50 +0800 | |
|---|---|---|
| committer | 2023-06-28 20:01:50 +0800 | |
| commit | 36510741d41f8986075da6a74ae8ad87d7f84e3f (patch) | |
| tree | 65fc6bbde69f482ed6a25b24f555e8c02847883e /.github/workflows | |
| parent | a3c3882cee4b270e3dfd8dadc607176f49b0cfed (diff) | |
| download | infini-36510741d41f8986075da6a74ae8ad87d7f84e3f.tar.gz infini-36510741d41f8986075da6a74ae8ad87d7f84e3f.zip | |
Create pack.yml
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/pack.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml new file mode 100644 index 00000000..26ee2f45 --- /dev/null +++ b/.github/workflows/pack.yml @@ -0,0 +1,34 @@ +name: Build Windows Executable + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.9 + + - name: Checkout code + uses: actions/checkout@v2 + + - name: Install dependencies + run: pip install pyinstaller + + - name: Build executable + run: pyinstaller -F ./HydroRollCore/__init__.py + + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: executable + path: dist/HydroRollCore.exe |
