Skip to content

Commit

Permalink
Publish packages
Browse files Browse the repository at this point in the history
- Include workflow to publish packages
  • Loading branch information
winromulus committed Jun 13, 2024
1 parent 58ec584 commit b41ac77
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,15 @@ jobs:
git tag ${{env.GitVersion_SemVer}}
git push origin ${{env.GitVersion_SemVer}}
- name: dotnet nuget add source
shell: bash
run: dotnet nuget add source --username USERNAME --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/emberstack/index.json"


- name: dotnet nuget push
run: |
for pkg in .artifacts/nuget/*.nupkg; do
dotnet nuget push "$pkg" --source "github" --api-key ${{ secrets.ES_GITHUB_PAT }}
done

0 comments on commit b41ac77

Please sign in to comment.