Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cnurse committed Jul 16, 2022
2 parents 762b1e2 + 01fc412 commit 331e7a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Prep packages
run: dotnet nuget add source --username cnurse --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/cnurse/index.json"
- name: Restore dependencies
run: dotnet restore
- name: Build
Expand All @@ -25,7 +27,5 @@ jobs:
run: dotnet test --no-build --verbosity normal
- name: Pack
run: dotnet pack src/Naif.Blog.Core/Naif.Blog.Core.csproj -c Release
- name: Prep packages
run: dotnet nuget add source --username cnurse --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/cnurse/index.json"
- name: Publish to GitHub packages
run: dotnet nuget push src/Naif.Blog.Core/bin/Release/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source "github"

0 comments on commit 331e7a4

Please sign in to comment.