Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/upload-windows-zip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,17 @@ jobs:
run: |
$root = Get-Location

cd $env:BASENAME
cd "$env:BASENAME"
Get-ChildItem -Recurse -Filter erl.ini | Remove-Item
rm Install.exe,Install.ini,Uninstall.exe
$sha256 = Get-FileHash $root\otp.exe -Algorithm SHA256
$sha256.Hash.ToLower() | Out-File -FilePath installer.sha256
cp $root/vc_redist.exe .
cp $root/erts/etc/win32/INSTALL.txt .
Compress-Archive -Path * -DestinationPath $root\$env:BASENAME.zip
Compress-Archive -Path * -DestinationPath $root\"$env:BASENAME.zip"

cd $root
Expand-Archive -Path $env:BASENAME.zip -DestinationPath .\otp_test
Expand-Archive -Path "$env:BASENAME.zip" -DestinationPath .\otp_test
.\otp_test\bin\erl.exe +V

- name: Upload
Expand All @@ -98,4 +98,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
INPUTS_VERSION: ${{ inputs.version }}
run: |
gh release upload -R $env:GITHUB_REPOSITORY --clobber OTP-$env:INPUTS_VERSION $env:BASENAME.zip
gh release upload -R "$env:GITHUB_REPOSITORY" --clobber "OTP-$env:INPUTS_VERSION" "$env:BASENAME.zip"
Loading