Skip to content

Commit

Permalink
Update dotnet-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VladislavAntonyuk authored Aug 3, 2024
1 parent 28d026c commit 37d3b9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,13 @@ jobs:
- name: Copy NuGet Packages to Staging Directory
if: runner.os == 'Windows' && !startsWith(github.ref, 'refs/tags/')
run: |
source=".\\src"
filter="nupkg"
Get-ChildItem -Path $source -Recurse | Where-Object { $_.Extension -match $filter } | Copy-Item -Destination "${{ github.workspace }}/nuget"
mkdir -p ${{ github.workspace }}/nuget
Get-ChildItem -Path "./src" -Recurse | Where-Object { $_.Extension -match "nupkg" } | Copy-Item -Destination "${{ github.workspace }}/nuget"
shell: pwsh

- name: Publish Packages
if: runner.os == 'Windows'
uses: actions/upload-artifact@v4
with:
name: Packages
path: ${{ github.workspace }}/nuget
path: ${{ github.workspace }}/nuget/

0 comments on commit 37d3b9c

Please sign in to comment.