Skip to content

Commit 72dae58

Browse files
authored
Change actions to publish StarMap.API to nuget instead of github
1 parent c7cc91e commit 72dae58

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,10 @@ jobs:
147147
/p:Version=${{ steps.version.outputs.new }} \
148148
/p:AssemblyVersion=${{ steps.version.outputs.new }} \
149149
/p:FileVersion=${{ steps.version.outputs.new }}
150-
dotnet nuget push ./nupkg/*.nupkg --source github --api-key "${{ secrets.GITHUB_TOKEN }}" --skip-duplicate
150+
dotnet nuget push ./nupkg/*.nupkg \
151+
--source https://api.nuget.org/v3/index.json \
152+
--api-key "${{ secrets.NUGET_API_KEY }}" \
153+
--skip-duplicate
151154
152155
- name: Upload publish folder for Windows installer
153156
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)