File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-latest
1616 name : Build and Deploy Job
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v4
1919 with :
2020 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
2127 - name : Build And Deploy
2228 id : builddeploy
2329 uses : Azure/static-web-apps-deploy@v1
2733 action : " upload"
2834 # ##### Repository/Build Configurations - These values can be configured to match your app requirements. ######
2935 # 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
3342 # ##### End of Repository/Build Configurations ######
3443
3544 close_pull_request_job :
You can’t perform that action at this time.
0 commit comments