Skip to content

Commit f29874b

Browse files
committed
User alternative action to download package version
1 parent 6937070 commit f29874b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
permissions:
1111
contents: read
12+
actions: read
1213

1314
jobs:
1415
publish:
@@ -18,10 +19,13 @@ jobs:
1819

1920
steps:
2021
- name: Download package artefacts
21-
uses: actions/download-artifact@v4
22+
uses: dawidd6/action-download-artifact@v9
2223
with:
2324
name: nuget-package-${{ inputs.version }}
24-
path: packages
25+
workflow: ci.yml
26+
path: ${{ env.PACKAGE_DIRECTORY }}
27+
search_artifacts: true
28+
if_no_artifact_found: fail
2529

2630
- name: Publish to NuGet
2731
run: >

0 commit comments

Comments
 (0)