File tree 1 file changed +13
-4
lines changed
1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
name : Build and Deploy Job
17
17
steps :
18
- - uses : actions/checkout@v2
18
+ - uses : actions/checkout@v4
19
19
with :
20
20
submodules : true
21
+ - name : Setup dotnet
22
+ uses : actions/setup-dotnet@v4
23
+ with :
24
+ dotnet-version : ' 9.x'
25
+ - name : Publish App
26
+ run : dotnet publish src/TipCalc/TipCalc.csproj -c Release -o dist
21
27
- name : Build And Deploy
22
28
id : builddeploy
23
29
uses : Azure/static-web-apps-deploy@v1
27
33
action : " upload"
28
34
# ##### Repository/Build Configurations - These values can be configured to match your app requirements. ######
29
35
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
30
- app_location : " src/TipCalc" # App source code path
31
- api_location : " " # Api source code path - optional
32
- output_location : " wwwroot" # Built app content directory - optional
36
+ # app_build_command: "dotnet publish src/TipCalc/TipCalc.csproj -c Release -o dist"
37
+ app_location : " dist/wwwroot" # App source code path
38
+ # api_location: "" # Api source code path - optional
39
+ # output_location: "dist/wwwroot" # Built app content directory - optional
40
+ skip_app_build : true
41
+ skip_api_build : true
33
42
# ##### End of Repository/Build Configurations ######
34
43
35
44
close_pull_request_job :
You can’t perform that action at this time.
0 commit comments