Skip to content

Commit 138323f

Browse files
committed
2nd attempt github package push
1 parent 71ca1ae commit 138323f

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/CI.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
- uses: actions/setup-dotnet@v1
3131
with:
3232
dotnet-version: '3.1.202'
33+
source-url: https://nuget.pkg.github.com/bjorhn/index.json
34+
env:
35+
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
3336
- name: Building library
3437
run: |
3538
dotnet restore src
@@ -58,5 +61,5 @@ jobs:
5861
dotnet test ${GITHUB_WORKSPACE}/Test
5962
- name: Push packages to GitHub Packages
6063
run: |
61-
dotnet nuget push ${GITHUB_WORKSPACE}/lib/*.nupkg -k ${{ secrets.GH_PACKAGES_KEY }} -s https://nuget.pkg.github.com/egil/index.json --skip-duplicate
62-
dotnet nuget push ${GITHUB_WORKSPACE}/template/*.nupkg -k ${{ secrets.GH_PACKAGES_KEY }} -s https://nuget.pkg.github.com/egil/index.json --skip-duplicate
64+
dotnet nuget push ${GITHUB_WORKSPACE}/lib/*.nupkg --skip-duplicate
65+
dotnet nuget push ${GITHUB_WORKSPACE}/template/*.nupkg --skip-duplicate

0 commit comments

Comments
 (0)