pull/320/head
James H Ball 2025-08-30 17:48:49 +01:00
rodzic ad05bbf44c
commit 5da472ccd6
1 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -177,13 +177,19 @@ jobs:
mega-logout mega-logout
# Combined MEGA upload (Windows) # Combined MEGA upload (Windows)
- name: Upload binaries to MEGA (Windows) - name: Install MEGAcmd (Windows)
if: runner.os == 'Windows' if: runner.os == 'Windows'
shell: powershell shell: powershell
run: | run: |
$ErrorActionPreference = 'Stop' $ErrorActionPreference = 'Stop'
choco install megacmd -y --no-progress choco install megacmd -y --no-progress
echo "$env:LOCALAPPDATA\MEGAcmd" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append echo "$env:LOCALAPPDATA\MEGAcmd" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Upload binaries to MEGA (Windows)
if: runner.os == 'Windows'
shell: powershell
run: |
$ErrorActionPreference = 'Stop'
mega-login "${{ secrets.MEGA_USERNAME }}" "${{ secrets.MEGA_PASSWORD }}" mega-login "${{ secrets.MEGA_USERNAME }}" "${{ secrets.MEGA_PASSWORD }}"
$dest = "/${{ matrix.project }}/${{ steps.version.outputs.version }}" $dest = "/${{ matrix.project }}/${{ steps.version.outputs.version }}"
Get-ChildItem bin -File | ForEach-Object { Get-ChildItem bin -File | ForEach-Object {