Skip to content

Commit f73d335

Browse files
jwostywallymathieu
authored andcommitted
Push .snupkg files on deployment
1 parent 6dd85ff commit f73d335

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎.github/workflows/release-package.yml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ jobs:
3131
uses: actions/upload-artifact@v4
3232
with:
3333
name: nupkg-${{ matrix.runs-on }}
34-
path: ./bin/nupkg/*.nupkg
34+
path: |
35+
./bin/nupkg/*.nupkg
36+
./bin/nupkg/*.snupkg
3537
- name: Push to GitHub Feed
3638
shell: bash
3739
run: |
38-
for f in ./bin/nupkg/*.nupkg
40+
for f in ./bin/nupkg/*.nupkg ./bin/nupkg/*.snupkg
3941
do
40-
echo $f
41-
dotnet nuget push $f -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
42+
echo "$f"
43+
dotnet nuget push "$f" -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
4244
done

0 commit comments

Comments
 (0)