Skip to content

Commit 507d6b6

Browse files
committed
Use the actual nupkg file name for the artifact name
1 parent 00246da commit 507d6b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
uses: actions/upload-artifact@v2
4040
if: matrix.os == 'macos-latest'
4141
with:
42-
name: nuget-package
42+
name: ${{ steps.dotnet-pack.outputs.nupkg-filename }}
4343
path: ${{ steps.dotnet-pack.outputs.nupkg-filename }}
4444
publish:
4545
runs-on: macos-latest
@@ -50,7 +50,7 @@ jobs:
5050
- name: Download NuGet package artifact
5151
uses: actions/download-artifact@v2
5252
with:
53-
name: nuget-package
53+
name: ${{ steps.dotnet-pack.outputs.nupkg-filename }}
5454
- name: Add GitHub package registry source
5555
run: dotnet nuget add source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --name github --username ${{ github.repository_owner }} --password ${{ github.token }} --store-password-in-clear-text
5656
- name: Publish NuGet package on nuget.org

0 commit comments

Comments
 (0)