Skip to content

Commit 29062c5

Browse files
committed
chore(ci): use env plugin path for NuGet publish
Switch publish steps to read package path from an environment variable rather than a hardcoded glob. Update provider subject selection and push command to target the configured plugins location so packages are discovered and published reliably for nonstandard output directories.
1 parent a2bf072 commit 29062c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/nuget-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ jobs:
6565
# Only once per package: take nuget provider
6666
if: matrix.nuget.name == 'NuGet'
6767
with:
68-
subject-path: "**/Release/*nupkg"
68+
subject-path: "${{ env.YumeChan_PluginsLocation }}/**/*nupkg"
6969

7070
# Publish
7171
- name: Publish packages to ${{ matrix.nuget.name }}
7272
run: |
73-
dotnet nuget push "**/Release/*.nupkg" \
73+
dotnet nuget push "${{ env.YumeChan_PluginsLocation }}/**/*.nupkg" \
7474
--source "${{ matrix.nuget.source }}" \
7575
--symbol-source "${{ matrix.nuget.source }}" \
7676
--api-key "${{ secrets[matrix.nuget.keyname] }}" \

0 commit comments

Comments
 (0)