File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed
Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change 11name : CI
22
3- on : [push, pull_request]
3+ on :
4+ pull_request :
5+ push : {}
6+ release :
7+ types : [published]
8+
49
510env :
611 DOTNET_SDK_VERSION : ' 6.0.100-preview.5.21302.13'
@@ -103,4 +108,20 @@ jobs:
103108 - name : Check tests success
104109 working-directory : ./gmod/
105110 shell : bash
106- run : cat test-success.txt
111+ run : cat test-success.txt
112+
113+ deploy :
114+ runs-on : ubuntu-20.04
115+
116+ needs : [linux-test, windows-test]
117+
118+ if : ${{ github.event_name != 'pull_request' && github.repository_owner == 'GmodNET' }}
119+
120+ steps :
121+ - name : Checkout
122+ uses : actions/checkout@v2.0.0
123+
124+ - name : Install .NET SDK
125+ uses : actions/setup-dotnet@v1.7.2
126+ with :
127+ dotnet-version : ${{ env.DOTNET_SDK_VERSION }}
You can’t perform that action at this time.
0 commit comments