mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
precautions for the nuget stuff
This commit is contained in:
1 parent
0aa164de99
commit
4775bbfeaa
1 file changed
+1
-1
@@ -46,6 +46,6 @@ jobs:
|
|||||||
files: MiraAPI/bin/Release/net6.0/MiraAPI.dll
|
files: MiraAPI/bin/Release/net6.0/MiraAPI.dll
|
||||||
|
|
||||||
- name: Push NuGet package
|
- name: Push NuGet package
|
||||||
if: github.repository == 'All-Of-Us-Mods/MiraAPI' && github.ref == 'refs/heads/master'
|
if: github.ref_type == 'tag'
|
||||||
run: |
|
run: |
|
||||||
dotnet nuget push {MiraAPI/bin/Release/AllOfUs.MiraAPI.*.nupkg} --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
|
dotnet nuget push {MiraAPI/bin/Release/AllOfUs.MiraAPI.*.nupkg} --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
|
||||||
Reference in new issue
Block a user