powershell
Some checks failed
Build and Upload Release (Windows EXE) / Build Windows EXE (release) Failing after 3m41s
Some checks failed
Build and Upload Release (Windows EXE) / Build Windows EXE (release) Failing after 3m41s
This commit is contained in:
@@ -19,14 +19,14 @@ jobs:
|
|||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
if (Test-Path requirements.txt) { pip install -r requirements.txt }
|
if (Test-Path requirements.txt) { pip install -r requirements.txt }
|
||||||
pip install pyinstaller
|
pip install pyinstaller
|
||||||
|
|
||||||
- name: Build EXE with PyInstaller
|
- name: Build EXE with PyInstaller
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
$ErrorActionPreference = 'Stop'
|
$ErrorActionPreference = 'Stop'
|
||||||
# Include SeaLoader.png so the packaged app icon in-app works
|
# Include SeaLoader.png so the packaged app icon in-app works
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
pyinstaller --noconfirm --onefile --windowed sealoader_gui.py --name SeaLoader --add-data "$addData"
|
pyinstaller --noconfirm --onefile --windowed sealoader_gui.py --name SeaLoader --add-data "$addData"
|
||||||
|
|
||||||
- name: Prepare artifact
|
- name: Prepare artifact
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
New-Item -ItemType Directory -Force -Path dist_upload | Out-Null
|
New-Item -ItemType Directory -Force -Path dist_upload | Out-Null
|
||||||
Copy-Item dist\SeaLoader.exe dist_upload\SeaLoader.exe
|
Copy-Item dist\SeaLoader.exe dist_upload\SeaLoader.exe
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload asset to Release
|
- name: Upload asset to Release
|
||||||
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
|
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
env:
|
env:
|
||||||
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
REPO: ${{ github.repository }}
|
REPO: ${{ github.repository }}
|
||||||
@@ -62,5 +62,5 @@ jobs:
|
|||||||
name: SeaLoader_Windows_x64
|
name: SeaLoader_Windows_x64
|
||||||
path: |
|
path: |
|
||||||
SeaLoader_Windows_x64.zip
|
SeaLoader_Windows_x64.zip
|
||||||
dist/SeaLoader/SeaLoader.exe
|
dist/SeaLoader.exe
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user