Skip to content

Commit f382f7f

Browse files
committed
Use 'gpr push' to push packages recursively.
1 parent 1f7cc69 commit f382f7f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/publish-package.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,4 @@ jobs:
4040
run: dotnet tool install -g gpr --no-cache -v q
4141

4242
- name: Publish packages
43-
run: |
44-
$files = Get-ChildItem -Path src -Filter *.nupkg -Recurse
45-
foreach ($file in $files) {
46-
gpr push --api-key $GITHUB_ACCESS_TOKEN $file
47-
}
43+
run: gpr push --api-key ${{ secrets.GITHUB_TOKEN }} ".\**\*.nupkg"

0 commit comments

Comments
 (0)