forked from risk-of-thunder/R2API
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (23 loc) · 698 Bytes
/
main.yml
File metadata and controls
30 lines (23 loc) · 698 Bytes
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
name: CI Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Build projects
run: dotnet build --configuration Debug --output ./DebugOutput /p:OutputPath=./DebugOutput
- name: Prepare Artifact
run: |
find ./DebugOutput ! -name 'R2API*.dll' ! -name 'R2API*.pdb' ! -name 'R2API*.xml' ! -name 'xunit*' -type f -delete
- name: Upload R2API Build Artifact
uses: actions/upload-artifact@v3
with:
name: R2API
path: |
DebugOutput/*