diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 79672dc..db75a69 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -19,10 +19,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v3 with: - python-version: "3.10" + python-version: "3.11" - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afa35a7..eb2d79c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,4 +41,36 @@ jobs: uses: actions/upload-artifact@v4 with: name: release - path: release.zip \ No newline at end of file + path: release.zip + + build-windows: + runs-on: windows-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.11 + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install pyinstaller + + - name: Run buildup.py + run: python buildup.py + + - name: Archive release files + run: | + mkdir -p dist + Compress-Archive -Path dist\* -DestinationPath release-windows.zip + + - name: Upload release artifact + uses: actions/upload-artifact@v4 + with: + name: release-windows + path: release-windows.zip \ No newline at end of file