kopia lustrzana https://github.com/jameshball/osci-render
fix windows ci
rodzic
ad05bbf44c
commit
5da472ccd6
|
@ -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 {
|
||||||
|
|
Ładowanie…
Reference in New Issue