Skip to content

Commit

Permalink
测试打包
Browse files Browse the repository at this point in the history
  • Loading branch information
aiqinxuancai committed Mar 1, 2024
1 parent b9c5eb9 commit 28ca2ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ jobs:
run: |
$tempDir = "$env:GITHUB_WORKSPACE\aria2_temp"
$ariaPath = "$env:GITHUB_WORKSPACE\Aria2Fast\bin\Release\net8.0-windows\win-x64\publish\Aria2"
New-Item -ItemType Directory -Force -Path $ariaPath
Invoke-WebRequest -Uri "https://github.com/aria2/aria2/releases/download/release-1.37.0/aria2-1.37.0-win-64bit-build1.zip" -OutFile "aria2.zip"
Expand-Archive -Path "aria2.zip" -DestinationPath $tempDir
Move-Item -Path $tempDir\aria2-1.37.0-win-64bit-build1\* -Destination $ariaPath
Get-ChildItem -Path $tempDir\aria2-1.37.0-win-64bit-build1\* | Move-Item -Destination $ariaPath
Remove-Item -Path $tempDir -Recurse -Force
shell: powershell
- name: Compress
Expand Down

0 comments on commit 28ca2ab

Please sign in to comment.