Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kierepka authored Sep 25, 2024
1 parent fb5422a commit fb5a749
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,13 @@ jobs:
run: dotnet publish --configuration Release -r ${{ matrix.rid }} --self-contained -o ./publish

- name: List contents of publish directory
shell: pwsh
run: |
if [ "${{ runner.os }}" == "Windows" ]; then
dir publish
else
if ($IsWindows) {
Get-ChildItem -Path publish -Recurse
} else {
ls -R publish
fi
}
- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit fb5a749

Please sign in to comment.