-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (32 loc) · 1003 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
on: [ "push", "pull_request" ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 8.*
- name: Run the Cake script
uses: cake-build/cake-action@v1
with:
verbosity: Diagnostic
- uses: actions/upload-artifact@v3
with:
name: Reactor.Impostor.dll
path: Reactor.Impostor/bin/Release/net8.0/Reactor.Impostor.dll
- uses: actions/upload-artifact@v3
with:
name: Reactor.Impostor.nupkg
path: Reactor.Impostor/bin/Release/Reactor.Impostor.*.nupkg
- uses: softprops/action-gh-release@v1
if: github.ref_type == 'tag'
with:
draft: true
files: |
Reactor.Impostor/bin/Release/net8.0/Reactor.Impostor.dll
Reactor.Impostor/bin/Release/Reactor.Impostor.*.nupkg