File tree 1 file changed +37
-0
lines changed
1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : MAUI Build
2
+
3
+ on :
4
+ workflow_call :
5
+ inputs :
6
+ build-ref :
7
+ required : true
8
+ type : string
9
+ workflow_dispatch :
10
+ release :
11
+ types : [published]
12
+
13
+ env :
14
+ DOTNET_NOLOGO : true
15
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE : true
16
+ DOTNET_GENERATE_ASPNET_CERTIFICATE : false
17
+
18
+ jobs :
19
+ build-windows :
20
+ runs-on : windows-2022
21
+ permissions :
22
+ contents : read
23
+ steps :
24
+ - uses : actions/checkout@v3
25
+ with :
26
+ fetch-depth : 0 # avoid shallow clone so nbgv can do its work.
27
+ lfs : true
28
+ - uses : dotnet/nbgv@v0.4
29
+ id : nbgv
30
+ - name : Install MAUI Workload
31
+ run : dotnet workload install maui --ignore-failed-sources
32
+ - run : dotnet restore src/BlazorFace.Maui/BlazorFace.Maui.csproj
33
+ - run : dotnet publish src/BlazorFace.Maui/BlazorFace.Maui.csproj -c Release --no-restore
34
+ - uses : actions/upload-artifact@v3
35
+ with :
36
+ name : blazorface-maui-windows
37
+ path : bin/BlazorFace.Maui/
You can’t perform that action at this time.
0 commit comments