-
Notifications
You must be signed in to change notification settings - Fork 64
45 lines (41 loc) · 1.03 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
43
44
45
name: Build
on:
pull_request:
push:
branches:
- master
- develop
- hotfix/*
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
permissions:
# fly-ci needs those!
id-token: write
contents: read
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-13, macos-14, macos-15, windows-2019, windows-2022]
steps:
- name: Get the sources
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install .NET SDK (global.json)
uses: actions/setup-dotnet@v4
with:
global-json-file: 'global.json'
- name: Run Cake script
uses: cake-build/cake-action@v2
env:
matrix-os: ${{ matrix.os }}
with:
target: GitHubActions
cake-version: tool-manifest
verbosity: Diagnostic
# let's see what fly-ci magic can do for us...
- name: Fix my build
uses: fly-ci/wingman-action@v1
if: failure()