Skip to content

Commit 5d0f9c4

Browse files
Merge pull request #58 from MiniMohsen/develop
Fixed double zipping on windows workflows
2 parents 4edcdec + 1eeec50 commit 5d0f9c4

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/win-nuitka.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ jobs:
9696
Set-Location -Path dist
9797
Write-Host "Renaming main.exe to pyTranscriber-$env:VERSION.exe"
9898
Rename-Item -Force main.exe "pyTranscriber-$env:VERSION.exe"
99-
Write-Host "Creating zip archive: pyTranscriber-$env:VERSION.zip"
100-
Compress-Archive -Path "pyTranscriber-$env:VERSION.exe" -DestinationPath "pyTranscriber-win-$env:VERSION.zip"
99+
# Write-Host "Creating zip archive: pyTranscriber-$env:VERSION.zip"
100+
# Compress-Archive -Path "pyTranscriber-$env:VERSION.exe" -DestinationPath "pyTranscriber-win-$env:VERSION.zip"
101101
shell: pwsh
102102

103103
- name: Upload built executable
104104
uses: actions/upload-artifact@v4
105105
with:
106106
name: pyTranscriber-win-${{ env.VERSION }}
107-
path: ./dist/pyTranscriber-win-${{ env.VERSION }}.zip # Adjust this path if Nuitka outputs elsewhere
107+
path: ./dist/pyTranscriber-${{ env.VERSION }}.exe # Adjust this path if Nuitka outputs elsewhere
108108

109109
download:
110110
runs-on: windows-latest

.github/workflows/win-pyinstaller-dev2.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ jobs:
9595
Set-Location -Path dist
9696
Write-Host "Renaming main.exe to pyTranscriber-$env:VERSION.exe"
9797
Rename-Item -Force main.exe "pyTranscriber-$env:VERSION.exe"
98-
Write-Host "Creating zip archive: pyTranscriber-win-$env:VERSION.zip"
99-
Compress-Archive -Path "pyTranscriber-$env:VERSION.exe" -DestinationPath "pyTranscriber-win-$env:VERSION.zip"
98+
# Write-Host "Creating zip archive: pyTranscriber-win-$env:VERSION.zip"
99+
# Compress-Archive -Path "pyTranscriber-$env:VERSION.exe" -DestinationPath "pyTranscriber-win-$env:VERSION.zip"
100100
shell: pwsh
101101

102102
- name: Upload built executable for Python ${{ matrix.python-version }}
103103
uses: actions/upload-artifact@v4
104104
with:
105105
name: pyTranscriber-win-${{ env.VERSION }}-py${{ matrix.python-version }}
106-
path: ./dist/pyTranscriber-win-${{ env.VERSION }}.zip
106+
path: ./dist/pyTranscriber-${{ env.VERSION }}.exe
107107

108108
download:
109109
runs-on: windows-latest

0 commit comments

Comments
 (0)