precautions for the nuget stuff

This commit is contained in:
XtraCube committed 2024-08-31 21:42:20 -04:00
1 parent 0aa164de99
commit 4775bbfeaa
1 file changed
+1 -1
+1 -1
View File
@@ -46,6 +46,6 @@ jobs:
files: MiraAPI/bin/Release/net6.0/MiraAPI.dll
- name: Push NuGet package
if: github.repository == 'All-Of-Us-Mods/MiraAPI' && github.ref == 'refs/heads/master'
if: github.ref_type == 'tag'
run: |
dotnet nuget push {MiraAPI/bin/Release/AllOfUs.MiraAPI.*.nupkg} --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}