Skip to content

Commit

Permalink
Publish to GH packages, attempt #13
Browse files Browse the repository at this point in the history
  • Loading branch information
jahav committed Aug 31, 2024
1 parent 238056f commit 7621899
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
- name: Pack Sanctuary.Core
run: dotnet pack Sanctuary.Core/Sanctuary.Core.csproj --configuration Release /p:PackageVersion=1.0.0-${{ github.run_number }}-${{ github.sha }}

- name: Authenticate
run: dotnet nuget add source --username jahav --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/jahav/index.json"
# - name: Authenticate
# run: dotnet nuget add source --username jahav --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/jahav/index.json"

- name: Push NuGet package to GitHub Packages
run: dotnet nuget push Sanctuary.Core/bin/Release/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source "github"
run: dotnet nuget push Sanctuary.Core/bin/Release/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source "https://nuget.pkg.github.com/jahav/index.json"

0 comments on commit 7621899

Please sign in to comment.