File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 18
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: |
27
+ # cd src/TipCalc
28
+ # dotnet publish --output dist
21
29
- name : Build And Deploy
22
30
id : builddeploy
23
31
uses : Azure/static-web-apps-deploy@v1
27
35
action : " upload"
28
36
# ##### Repository/Build Configurations - These values can be configured to match your app requirements. ######
29
37
# 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
38
+ app_build_command : " dotnet publish src/TipCalc/TipCalc.csproj -c Release -o dist"
39
+ app_location : " dist" # App source code path
40
+ # api_location: "" # Api source code path - optional
41
+ # app_artifact_location: "wwwroot" # Built app content directory - optional
32
42
output_location : " wwwroot" # Built app content directory - optional
43
+ skip_app_build : false
44
+ skip_api_build : true
33
45
# ##### End of Repository/Build Configurations ######
34
46
35
47
close_pull_request_job :
You can’t perform that action at this time.
0 commit comments