We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09c0011 commit 6308200Copy full SHA for 6308200
1 file changed
.github/workflows/psgallery.yml
@@ -44,14 +44,14 @@ jobs:
44
45
- name: Publish to PSGallery
46
env:
47
- PS_GALLERY_API_KEY: ${{ secrets.PS_GALLERY_API_KEY }}
+ PSGALLERY_API_KEY: ${{ secrets.PSGALLERY_API_KEY }}
48
run: |
49
- if [[ -z "$PS_GALLERY_API_KEY" ]]; then
50
- echo "::error::PS_GALLERY_API_KEY secret is not set at repo or org level"
+ if [[ -z "$PSGALLERY_API_KEY" ]]; then
+ echo "::error::PSGALLERY_API_KEY secret is not set at repo or org level"
51
exit 1
52
fi
53
54
dotnet nuget push "${{ steps.release.outputs.asset_name }}" \
55
- --api-key "$PS_GALLERY_API_KEY" \
+ --api-key "$PSGALLERY_API_KEY" \
56
--source https://www.powershellgallery.com/api/v2/package \
57
--dry-run
0 commit comments