Skip to content

Commit 519d060

Browse files
fix yml
1 parent ba30035 commit 519d060

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/dotnet-core-desktop.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ jobs:
5353

5454
# Publish Artifacts
5555
- name: 'Publish Artifacts'
56-
uses: actions/upload-artifact@v1.0.0
56+
uses: actions/upload-artifact@v4.4.0
5757
with:
58-
name: 'artifactory'
58+
name: artifactory_${{ matrix.configuration }}
5959
path: ./Analogy.LogViewer.LoggersTree/bin/${{ matrix.configuration }}
6060
push-nuget:
6161
name: 'Push NuGet Packages'
@@ -64,12 +64,12 @@ jobs:
6464
runs-on: windows-latest
6565
steps:
6666
- name: 'Download Artifact'
67-
uses: actions/download-artifact@v1
67+
uses: actions/download-artifact@v4.1.7
6868
with:
69-
name: 'artifactory'
69+
name: artifactory_Release
7070
- name: 'Dotnet NuGet Push'
7171
run: |
72-
Get-ChildItem .\artifactory -Filter *.nupkg |
72+
Get-ChildItem ./ -Filter *.nupkg |
7373
Where-Object { !$_.Name.Contains('preview') } |
7474
ForEach-Object { dotnet nuget push $_ --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} }
7575
shell: pwsh

0 commit comments

Comments
 (0)