diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 6c87428..23450dd 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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 }} \ No newline at end of file