Update CI

This commit is contained in:
js6pak committed 2022-10-09 21:55:53 +02:00
1 parent 2d148db013
commit da217c1627
3 files changed
+16 -13

No files matched your search

+6 -1
View File
@@ -46,7 +46,12 @@ jobs:
path: Reactor.Debugger/bin/Release/net6.0/Reactor.Debugger.dll
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
if: github.ref_type == 'tag'
with:
draft: true
files: Reactor/bin/Release/net6.0/Reactor.dll
- name: Push nightly NuGet package
if: github.repository == 'NuclearPowered/Reactor' && github.ref == 'refs/heads/master'
run: |
dotnet nuget push Reactor/bin/Release/Reactor.*.nupkg --source https://nuget.reactor.gg/v3/index.json --api-key ${{ secrets.REACTOR_NUGET_KEY }}