Skip to content

Commit c14e10e

Browse files
committed
Add artifactName input to reusable-build-nuget-package workflow
1 parent 967f0ee commit c14e10e

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/release-published.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ jobs:
1919
with:
2020
version: ${{ needs.define-version.outputs.version }}
2121
configuration: Release
22+
nuget_artifact: nuget-packages
2223

2324
publish-nuget-package:
2425
needs:
2526
- build-nuget-package
26-
uses: project-origin/.github/.github/workflows/reusable-publish-nuget-artifacts.yaml@89202af6ad6b5f3cadc6afa211cc29af1e6a3965
27+
uses: project-origin/.github/.github/workflows/reusable-publish-nuget-artifacts.yaml@639a49296c45ee5e9859b6cd7356a380025d9959
28+
with:
29+
nuget_artifact: nuget-packages
2730
secrets:
2831
nuget_api_key: ${{ secrets.NUGET_API_KEY }}

.github/workflows/reusable-build-nuget-package.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
description: 'The build configuration'
1212
required: true
1313
type: string
14+
nuget_artifact:
15+
description: 'The name of the artifact to upload to'
16+
required: true
17+
type: string
1418

1519
jobs:
1620
build-rust-artifacts:
@@ -44,5 +48,6 @@ jobs:
4448
- name: Upload nuget artifact
4549
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
4650
with:
51+
name: ${{ inputs.nuget_artifact }}
4752
retention-days: 1
4853
path: build/*.nupkg

0 commit comments

Comments
 (0)