-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (35 loc) · 1.21 KB
/
build.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
41
42
name: dotnet
on:
push:
branches: [ "ruleset" ]
pull_request:
branches: [ "ruleset" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['8.0.x']
steps:
- uses: actions/checkout@v2
- name: Setup dotnet (${{ matrix.dotnet-version }})
uses: actions/[email protected]
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Resolve dependencies
run: dotnet restore IGPlayerLoader
- name: Build
run: dotnet publish IGPlayerLoader -c Release
- name: Copy README.md
run: cp 'README.md' IGPlayerLoader/bin/Release/net8.0/publish
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
path: |
IGPlayerLoader/bin/Release/net8.0/publish/M.*.dll
IGPlayerLoader/bin/Release/net8.0/publish/*/M.*.dll
IGPlayerLoader/bin/Release/net8.0/publish/osu.Game.Rulesets.*.dll
IGPlayerLoader/bin/Release/net8.0/publish/Tmds.*.dll
IGPlayerLoader/bin/Release/net8.0/publish/*.md
IGPlayerLoader/bin/Release/net8.0/publish/NetCoreServ*.dll
!IGPlayerLoader/bin/Release/net8.0/publish/*.txt