Skip to content

Commit

Permalink
update asset_path separator
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Henderson committed Oct 10, 2024
1 parent 7cf155d commit dad7b64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dotnet-build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ jobs:
foreach ($platform in $platforms) {
$sourcePath = "${{ github.workspace }}\${{ inputs.release_dir }}\$platform\"
$zipPath = "$outputDir\${{ env.REPO_NAME }}_$platform.zip"
Get-ChildItem -File -Path $sourcePath
Compress-Archive -Path $sourcePath -DestinationPath $zipPath -Force -Verbose
}
Get-ChildItem -File -Path $outputDir
Expand Down Expand Up @@ -154,7 +155,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ inputs.release_url }}
asset_path: "${{ env.outputDir }}/*.zip"
asset_path: "${{ env.outputDir }}\*.zip"
asset_name: "*.zip"
asset_content_type: application/zip

Expand Down

0 comments on commit dad7b64

Please sign in to comment.