Skip to content

Commit

Permalink
release.yml: Skip duplicates and disable manual triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
logmanoriginal authored Oct 1, 2024
1 parent 2b99bfb commit 67cff19
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: release
on:
workflow_dispatch:
release:
types:
- published
Expand All @@ -18,4 +17,4 @@ jobs:
- name: Create Package
run: dotnet pack --configuration Release --output ${{ env.NuGetDirectory }}
- name: Publish Package
run: dotnet nuget push ${{ env.NuGetDirectory }}/*.nupkg --source https://nuget.pkg.github.com/vws4ls/index.json --api-key ${{ secrets.NUGET_AUTH_TOKEN }}
run: dotnet nuget push ${{ env.NuGetDirectory }}/*.nupkg --skip-duplicate --source https://nuget.pkg.github.com/vws4ls/index.json --api-key ${{ secrets.NUGET_AUTH_TOKEN }}

0 comments on commit 67cff19

Please sign in to comment.