diff --git a/.github/workflows/azure-static-web-apps-icy-island-081870110.yml b/.github/workflows/azure-static-web-apps-icy-island-081870110.yml index 49ebb86..3d9ab7b 100644 --- a/.github/workflows/azure-static-web-apps-icy-island-081870110.yml +++ b/.github/workflows/azure-static-web-apps-icy-island-081870110.yml @@ -18,6 +18,14 @@ jobs: - uses: actions/checkout@v4 with: submodules: true + - name: Setup dotnet + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '9.x' + #- name: Publish App + # run: | + # cd src/TipCalc + # dotnet publish --output dist - name: Build And Deploy id: builddeploy uses: Azure/static-web-apps-deploy@v1 @@ -27,9 +35,13 @@ jobs: action: "upload" ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig - app_location: "/src/TipCalc" # App source code path - api_location: "" # Api source code path - optional + app_build_command: "dotnet publish src/TipCalc/TipCalc.csproj -c Release -o dist" + app_location: "dist" # App source code path + # api_location: "" # Api source code path - optional + # app_artifact_location: "wwwroot" # Built app content directory - optional output_location: "wwwroot" # Built app content directory - optional + skip_app_build: false + skip_api_build: true ###### End of Repository/Build Configurations ###### close_pull_request_job: