forked from NinjaCheetah/NUSGet
Separate standalone and onefile packages on Windows
This commit is contained in:
19
.github/workflows/python-build.yml
vendored
19
.github/workflows/python-build.yml
vendored
@@ -120,6 +120,25 @@ jobs:
|
||||
with:
|
||||
path: D:\a\NUSGet\NUSGet\NUSGet.dist
|
||||
name: NUSGet-Windows-bin
|
||||
|
||||
build-windows-onefile:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Enable Developer Command Prompt
|
||||
uses: ilammy/msvc-dev-cmd@v1.13.0
|
||||
- name: Set up Python 3.12
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: Build Onefile Package
|
||||
run: .\Build.ps1 build-onefile
|
||||
- name: Upload Onefile Package
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user