-
Notifications
You must be signed in to change notification settings - Fork 18
45 lines (36 loc) · 912 Bytes
/
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
run-name: ${{ github.job }} #${{ github.run_number }} on ${{ github.ref }} by @${{ github.actor }}
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: windows-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Java11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- name: Restore Workloads
run: dotnet workload install ios android
shell: bash
- name: Restore
run: dotnet restore
shell: bash
- name: Build
run: dotnet build --configuration Release
shell: bash
- name: Publish Artifact
uses: actions/upload-artifact@v4
with:
name: output
path: Output
if-no-files-found: error