Skip to content

Commit 30c48dd

Browse files
Update azure-static-web-apps-icy-island-081870110.yml
1 parent 6daea5d commit 30c48dd

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/azure-static-web-apps-icy-island-081870110.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ jobs:
1818
- 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: |
27+
# cd src/TipCalc
28+
# dotnet publish --output dist
2129
- name: Build And Deploy
2230
id: builddeploy
2331
uses: Azure/static-web-apps-deploy@v1
@@ -27,9 +35,13 @@ jobs:
2735
action: "upload"
2836
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
2937
# 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
3242
output_location: "wwwroot" # Built app content directory - optional
43+
skip_app_build: false
44+
skip_api_build: true
3345
###### End of Repository/Build Configurations ######
3446

3547
close_pull_request_job:

0 commit comments

Comments
 (0)