forked from WolvenKit/WolvenKit
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 973 Bytes
/
check-only.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: check-only
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
desktop-win:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Publish with Dotnet
run: dotnet publish .\WolvenKit\WolvenKit.csproj -o .\publish -c Release
- uses: actions/upload-artifact@v4
with:
name: wolvenkit-desktop
path: .\publish
console-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Restore dependencies
run: dotnet restore ./WolvenKit.CLI/WolvenKit.CLI.csproj
- name: Build
run: dotnet build ./WolvenKit.CLI/WolvenKit.CLI.csproj --no-restore