Skip to content

Commit 7291ca7

Browse files
DJGosnellclaude
andcommitted
Remove NuGet push and release creation from dotnet.yml.
Publishing is now handled entirely by check-update.yml. Remove tag trigger, GitHub release, and NuGet push steps to prevent accidental publishes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e2c8bd0 commit 7291ca7

1 file changed

Lines changed: 2 additions & 19 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on:
44
push:
55
branches:
66
- master
7-
tags:
8-
- 'v*'
97
pull_request:
108
branches:
119
- master
@@ -50,20 +48,5 @@ jobs:
5048
artifacts/*.nupkg
5149
artifacts/*.snupkg
5250
53-
- name: Get tag name
54-
if: startsWith(github.ref, 'refs/tags/')
55-
id: tagName
56-
run: echo "tag=${GITHUB_REF#refs/tags/}" >> "$GITHUB_OUTPUT"
57-
58-
- name: Create release
59-
uses: softprops/action-gh-release@v2
60-
if: startsWith(github.ref, 'refs/tags/')
61-
with:
62-
name: "PDFiumCore ${{ steps.tagName.outputs.tag }} Released"
63-
files: |
64-
artifacts/*.nupkg
65-
artifacts/*.snupkg
66-
67-
- name: Push Nuget packages
68-
if: startsWith(github.ref, 'refs/tags/')
69-
run: dotnet nuget push artifacts/*.nupkg --api-key ${{ secrets.ORG_NUGET_AUTH_TOKEN }} --skip-duplicate
51+
# NuGet publishing is handled by the check-update workflow.
52+
# Tag-triggered releases and pushes are disabled here to prevent accidental publishes.

0 commit comments

Comments
 (0)