kopia lustrzana https://github.com/mate-dev/meshtastic-matrix-relay
Update main.yml
rodzic
ae175a9c57
commit
cce8e47f66
|
@ -22,20 +22,16 @@ jobs:
|
|||
- name: Build executable
|
||||
run: pyinstaller --name=mmrelay.exe --onefile --console main.py
|
||||
|
||||
- name: Download and install Winget
|
||||
- name: Install Inno Setup
|
||||
run: |
|
||||
Invoke-WebRequest -Uri 'https://winget.azureedge.net/cache/winget-cli-0.3.13971-preview.zip' -OutFile 'winget.zip'
|
||||
Expand-Archive -Path 'winget.zip' -DestinationPath "$env:ProgramFiles\WindowsApps"
|
||||
Set-ExecutionPolicy RemoteSigned -scope CurrentUser
|
||||
|
||||
- name: Install NSIS
|
||||
$url = 'https://www.jrsoftware.org/download.php/is-unicode.exe'
|
||||
$installer = "$env:TEMP\installer.exe"
|
||||
Invoke-WebRequest $url -OutFile $installer
|
||||
Start-Process -FilePath $installer -ArgumentList '/VERYSILENT' -Wait
|
||||
- name: Build Installer
|
||||
run: |
|
||||
winget install -e --id NSIS.NSIS
|
||||
|
||||
- name: Compile NSIS script
|
||||
run: |
|
||||
makensis mmrelay.nsi
|
||||
|
||||
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" mmrelay.iss
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
|
Ładowanie…
Reference in New Issue