From 26994539746d5ceed29d3a2987a9ace3ea16db06 Mon Sep 17 00:00:00 2001 From: paule96 Date: Tue, 16 Jan 2024 20:38:10 +0000 Subject: [PATCH] add dotnet 8.0 to more places --- .devcontainer/devcontainer.json | 2 +- .github/workflows/main.yml | 2 +- src/CZ.Azure.FileExchange/wwwroot/staticwebapp.config.json | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index cdb367d..2e0008f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -17,7 +17,7 @@ "version": "latest" }, "ghcr.io/devcontainers/features/dotnet": { - "version": "7.0", + "version": "8.0", "additionalVersions": "6.0", "runtimeOnly": false }, diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9dca8b3..e4a1540 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -113,5 +113,5 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} continue-on-error: true - name: Deploy - run: './build/deploy.ps1 -Token ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_KINDDUNE004C2C103 }} -appBuildOutput ./temp/frontend/wwwroot/ -apiBuildOutput ./temp/api/ -envrionmentName ${{ github.event.number }} -pullrequestTitle "${{steps.Pr-Title.outputs.pr-title}}" -branchName ${{ github.head_ref }} -apiFramework "dotnetisolated" -apiFrameworkVersion "7.0" -Verbose -Delete' + run: './build/deploy.ps1 -Token ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_KINDDUNE004C2C103 }} -appBuildOutput ./temp/frontend/wwwroot/ -apiBuildOutput ./temp/api/ -envrionmentName ${{ github.event.number }} -pullrequestTitle "${{steps.Pr-Title.outputs.pr-title}}" -branchName ${{ github.head_ref }} -apiFramework "dotnetisolated" -apiFrameworkVersion "8.0" -Verbose -Delete' shell: pwsh \ No newline at end of file diff --git a/src/CZ.Azure.FileExchange/wwwroot/staticwebapp.config.json b/src/CZ.Azure.FileExchange/wwwroot/staticwebapp.config.json index 927e895..e44431e 100644 --- a/src/CZ.Azure.FileExchange/wwwroot/staticwebapp.config.json +++ b/src/CZ.Azure.FileExchange/wwwroot/staticwebapp.config.json @@ -1,4 +1,7 @@ { + "platform": { + "apiRuntime": "dotnet-isolated:8.0" + }, "navigationFallback": { "rewrite": "/index.html", "exclude": [