Update main.yml

feature/plugins-parameters
geoffwhittington 2023-04-21 19:38:27 -04:00 zatwierdzone przez GitHub
rodzic ae175a9c57
commit cce8e47f66
1 zmienionych plików z 8 dodań i 12 usunięć

Wyświetl plik

@ -22,19 +22,15 @@ jobs:
- name: Build executable - name: Build executable
run: pyinstaller --name=mmrelay.exe --onefile --console main.py run: pyinstaller --name=mmrelay.exe --onefile --console main.py
- name: Download and install Winget - name: Install Inno Setup
run: | run: |
Invoke-WebRequest -Uri 'https://winget.azureedge.net/cache/winget-cli-0.3.13971-preview.zip' -OutFile 'winget.zip' $url = 'https://www.jrsoftware.org/download.php/is-unicode.exe'
Expand-Archive -Path 'winget.zip' -DestinationPath "$env:ProgramFiles\WindowsApps" $installer = "$env:TEMP\installer.exe"
Set-ExecutionPolicy RemoteSigned -scope CurrentUser Invoke-WebRequest $url -OutFile $installer
Start-Process -FilePath $installer -ArgumentList '/VERYSILENT' -Wait
- name: Install NSIS - name: Build Installer
run: | run: |
winget install -e --id NSIS.NSIS & "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" mmrelay.iss
- name: Compile NSIS script
run: |
makensis mmrelay.nsi
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2