Skip to content

Commit

Permalink
final
Browse files Browse the repository at this point in the history
  • Loading branch information
EliMoshkovich committed Sep 27, 2024
1 parent 27b8da1 commit a07e0d9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/dotnet-sdk-publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Test pack and Publish to NuGet

on: push
# release:
# types: [published]
on:
release:
types: [published]

jobs:
build:
Expand All @@ -15,7 +15,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.0.x'
dotnet-version: '8.0.x'

- name: Restore dependencies
working-directory: ./src/permit
Expand Down Expand Up @@ -54,6 +54,6 @@ jobs:
working-directory: ./src/permit
run: dotnet pack --configuration Release

# - name: Push package to NuGet
# working-directory: ./src/permit
# run: dotnet nuget push bin/Release/Permit.${{ github.event.release.tag_name }}.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
- name: Push package to NuGet
working-directory: ./src/permit
run: dotnet nuget push bin/Release/Permit.${{ github.event.release.tag_name }}.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json

0 comments on commit a07e0d9

Please sign in to comment.