diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 10756af..a54bf3c 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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