-
-
Notifications
You must be signed in to change notification settings - Fork 267
50 lines (38 loc) · 1.3 KB
/
bit.ci.Bswup.yml
File metadata and controls
50 lines (38 loc) · 1.3 KB
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: bit platform CI - Bswup
on:
workflow_dispatch:
pull_request:
paths:
- 'src/Bswup/**'
env:
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: true
jobs:
build-Bswup:
if: startsWith(github.event.pull_request.title, 'Prerelease') != true && startsWith(github.event.pull_request.title, 'Release') != true && startsWith(github.event.pull_request.title, 'Version') != true
name: build Bit.Bswup
runs-on: ubuntu-24.04
steps:
- name: Checkout source code
uses: actions/checkout@v6
- name: Setup .NET 10.0
uses: actions/setup-dotnet@v5
with:
global-json-file: src/global.json
- name: Setup .NET 9.0
uses: actions/setup-dotnet@v5
with:
dotnet-version: 9.0.x
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v5
with:
dotnet-version: 8.0.x
- uses: actions/setup-node@v6
with:
node-version: 24
- name: dotnet workload restore
run: cd src/Bswup && dotnet workload restore
- name: InstallNodejsDependencies
continue-on-error: true # Error MSB4057, not all csproj files have InstallNodejsDependencies target.
run: dotnet build src/Bswup/Bit.Bswup.slnx -t:InstallNodejsDependencies -m:1 -f net10.0
- name: dotnet build
run: dotnet build src/Bswup/Bit.Bswup.slnx