Skip to content

Commit

Permalink
Fix package source name
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsmith authored Aug 4, 2020
1 parent 8b6b6eb commit 1f81d7e
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 @@ -29,17 +29,17 @@ jobs:
- name: Package
if: github.event_name != 'pull_request'
run: dotnet pack Foundatio.sln --configuration Release --no-build
- name: Add GPR Source
- name: Add GitHub NuGet Source
if: github.event_name != 'pull_request'
run: dotnet nuget add source https://nuget.pkg.github.com/foundatiofx/index.json --name GPR --username foundatiofx --password ${{secrets.GITHUB_TOKEN}} --store-password-in-clear-text
run: dotnet nuget add source https://nuget.pkg.github.com/foundatiofx/index.json --name GitHub --username foundatiofx --password ${{secrets.GITHUB_TOKEN}} --store-password-in-clear-text
- name: Publish CI Packages
if: github.event_name != 'pull_request'
run: |
for package in $(find -name "*.nupkg" | grep "minver" -v); do
echo "${0##*/}": Pushing $package...
# GPR
dotnet nuget push $package --source GRP --skip-duplicate
dotnet nuget push $package --source GitHub --skip-duplicate
# feedz (remove once GPR supports anonymous access)
dotnet nuget push $package --source https://f.feedz.io/foundatio/foundatio/nuget --api-key ${{ secrets.FEEDZ_KEY }} --skip-duplicate
Expand Down

0 comments on commit 1f81d7e

Please sign in to comment.