-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
50 lines (39 loc) · 1 KB
/
build-frontends.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
43
44
45
46
47
48
49
50
name: Build XPlat Frontends
on:
push:
branches: '**'
pull_request:
branches: [ master, release/** ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-quality: 'ga'
- name: Install dependencies
run: dotnet restore ILSpy.XPlat.slnf
- name: Build Debug
run: dotnet msbuild ILSpy.XPlat.slnf -p:Configuration=Debug -bl:Debug.binlog
- name: Build Release
run: dotnet msbuild ILSpy.XPlat.slnf -p:Configuration=Release -bl:Release.binlog
- name: list files
if: always()
run: ls -la
- name: print VERSION
if: always()
run: cat VERSION
- name: Upload binlog
if: always()
uses: actions/upload-artifact@v4
with:
name: binlog
path: '**/*.binlog'
if-no-files-found: error