Skip to content

Commit

Permalink
Merge pull request #69 from MxLabs/development
Browse files Browse the repository at this point in the history
Github actions
  • Loading branch information
MxLabs committed Dec 24, 2023
2 parents bb2f7e4 + 42764a6 commit 6f916c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
run: dotnet restore

- name: Publishing project
run: dotnet publish $ {{ env.ProjectPath }} --no-restore
run: dotnet publish ${{ env.ProjectPath }} --no-restore

- name: Publishing project
run: dotnet pack -c Release /p:PackageVersion=${{ steps.anviz.outputs.tag }} -o ${{ env.NuGetDirectory }}
- name: Packing Nuget package
run: dotnet pack ${{ env.ProjectPath }} -c Release /p:PackageVersion=${{ steps.anviz.outputs.tag }} -o ${{ env.NuGetDirectory }}

- name: Publishing NuGet package
run: dotnet nuget push ${{ env.NuGetDirectory }}/Anviz.SDK.${{ steps.anviz.outputs.tag }}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json

0 comments on commit 6f916c6

Please sign in to comment.