Skip to content

Commit

Permalink
Push to internal nuget feed on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hallipr committed Jun 5, 2024
1 parent b1afe27 commit fee44fc
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@ jobs:
name: build-artifacts
path: ${{github.workspace}}/artifacts

# - name: NuGet Autenticate
# if: github.event_name != 'pull_request'
# run: dotnet nuget add source
# "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
# --name "github"
# --username ${{ github.actor }}
# --password ${{ secrets.GITHUB_TOKEN }}
# --store-password-in-clear-text
- name: NuGet Autenticate
if: github.event_name != 'pull_request'
run: dotnet nuget add source
"https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
--name "github"
--username ${{ github.actor }}
--password ${{ secrets.GITHUB_TOKEN }}
--store-password-in-clear-text

# - name: Publish
# if: github.event_name != 'pull_request'
# run: dotnet nuget push
# ${{github.workspace}}/artifacts/packages/*.nupkg
# --source "github"
# --api-key ${{ secrets.GITHUB_TOKEN }}
# --skip-duplicate
- name: Publish
if: github.event_name != 'pull_request'
run: dotnet nuget push
${{github.workspace}}/artifacts/packages/*.nupkg
--source "github"
--api-key ${{ secrets.GITHUB_TOKEN }}
--skip-duplicate

0 comments on commit fee44fc

Please sign in to comment.