Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
add step for github packages publish (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
molostovvs authored Nov 21, 2023
1 parent 7dc542a commit ad00a45
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ jobs:
name: nupkg
path: .

- name: Publish NuGet Package
- name: Publish NuGet Package to nuget.org
run: |
dotnet nuget push --skip-duplicate *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
- name: Add source for nuget registry on github
run: |
dotnet nuget add source "https://nuget.pkg.github.com/ConcreteEcho/index.json" --username ConcreteEcho --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text -n github
- name: Publish NuGet Package to github.com
run: dotnet nuget push --skip-duplicate *.nupkg --source github
2 changes: 1 addition & 1 deletion src/Fluent.Structures.Model/Fluent.Structures.Model.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<LangVersion>latestmajor</LangVersion>
<PackageId>Fluent.Structures.Model</PackageId>
<Version>0.1.1</Version>
<Authors>Victor Molostov</Authors>
<Authors>ConcreteEcho</Authors>
<Product>Fluent.Structures.Model</Product>
<Title>Fluent.Structures.Model</Title>
<PackageTags>Tekla</PackageTags>
Expand Down

0 comments on commit ad00a45

Please sign in to comment.