Skip to content

Commit

Permalink
πŸ“ πŸ”§ Chore, Fix(Actions): Fix publish.yml.
Browse files Browse the repository at this point in the history
[Publish Packages][KitX.Contract.CSharp]
  • Loading branch information
Dynesshely committed May 21, 2023
1 parent 5678850 commit fc5f2b0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
steps:

- uses: actions/checkout@v3
with:
repository: 'Crequency/KitX'
ref: 'dev=main'
submodules: 'true'

- name: Setup .NET
uses: actions/setup-dotnet@v2
Expand All @@ -37,7 +41,10 @@ jobs:
- name: Build and Publish `KitX.Contract.CSharp`
if: contains(github.event.head_commit.message, '[KitX.Contract.CSharp]') || contains(github.event.head_commit.message, '[All]')
run: |
cd "KitX Contracts"
cd "KitX.Contract.CSharp"
dotnet build -c Release
nuget push ./bin/Release/*.nupkg -Source https://api.nuget.org/v3/index.json -SkipDuplicate -ApiKey ${{ secrets.NugetKey }} -NoSymbol
Expand Down

0 comments on commit fc5f2b0

Please sign in to comment.