Skip to content

Commit 8085ae9

Browse files
Update azure-static-web-apps-icy-island-081870110.yml (#40)
* Update azure-static-web-apps-icy-island-081870110.yml
1 parent a0a5b5f commit 8085ae9

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

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

+13-4
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,15 @@ jobs:
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
@@ -27,9 +33,12 @@ jobs:
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:

0 commit comments

Comments
 (0)