Skip to content

Commit b53ba23

Browse files
authored
Merge pull request #7 from DominicMaas/DominicMaas/fix-nuget-release
Require version input, consolidate NuGet push steps
2 parents 0b1772e + 1360628 commit b53ba23

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
version:
88
type: string
99
description: Version
10+
required: true
1011

1112
env:
1213
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
@@ -121,10 +122,6 @@ jobs:
121122
with:
122123
user: ${{ secrets.NUGET_USER }}
123124

124-
# Push the package
125-
- name: NuGet Push (Package)
125+
# Push the package (Symbol Package is automatically included)
126+
- name: NuGet Push (Package + Symbols)
126127
run: dotnet nuget push SlangShaderSharp.${{ env.VERSION }}.nupkg --api-key ${{steps.login.outputs.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
127-
128-
- name: NuGet Push (Symbols)
129-
run: dotnet nuget push SlangShaderSharp.${{ env.VERSION }}.snupkg --api-key ${{steps.login.outputs.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
130-

.github/workflows/update_slang.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
version:
77
type: string
88
description: Version
9+
required: true
910

1011
jobs:
1112
createPullRequest:

0 commit comments

Comments
 (0)