Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
c23acb4472
|
|||
|
33fcd762f4
|
|||
|
ffbbf42d23
|
|||
| 8599690614 | |||
| 572d328890 | |||
| 10ae32812f | |||
| 39cfe519c6 | |||
| 19a326f8bf | |||
| 8ea5de3f54 | |||
|
992b629e24
|
|||
|
9223d5c5b2
|
|||
|
900cb4c210
|
|||
|
bd1c068e1c
|
|||
|
9afa50820b
|
|||
|
a51f341cf3
|
@@ -8,7 +8,7 @@ on:
|
||||
jobs:
|
||||
build-windows-exe:
|
||||
name: Build Windows EXE
|
||||
runs-on: windows-latest
|
||||
runs-on: windows
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -19,14 +19,14 @@ jobs:
|
||||
python-version: '3.11'
|
||||
|
||||
- name: Install dependencies
|
||||
shell: pwsh
|
||||
shell: powershell
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
if (Test-Path requirements.txt) { pip install -r requirements.txt }
|
||||
pip install pyinstaller
|
||||
|
||||
- name: Build EXE with PyInstaller
|
||||
shell: pwsh
|
||||
shell: powershell
|
||||
run: |
|
||||
$ErrorActionPreference = 'Stop'
|
||||
# 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"
|
||||
|
||||
- name: Prepare artifact
|
||||
shell: pwsh
|
||||
shell: powershell
|
||||
run: |
|
||||
New-Item -ItemType Directory -Force -Path dist_upload | Out-Null
|
||||
Copy-Item dist\SeaLoader.exe dist_upload\SeaLoader.exe
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
|
||||
- name: Upload asset to Release
|
||||
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
|
||||
shell: pwsh
|
||||
shell: powershell
|
||||
env:
|
||||
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
REPO: ${{ github.repository }}
|
||||
@@ -62,5 +62,5 @@ jobs:
|
||||
name: SeaLoader_Windows_x64
|
||||
path: |
|
||||
SeaLoader_Windows_x64.zip
|
||||
dist/SeaLoader/SeaLoader.exe
|
||||
dist/SeaLoader.exe
|
||||
|
||||
|
||||
Reference in New Issue
Block a user