diff --git a/.github/workflows/backend-publish-azure.yml b/.github/workflows/backend-publish-azure.yml index 76d74b70..09106c4c 100644 --- a/.github/workflows/backend-publish-azure.yml +++ b/.github/workflows/backend-publish-azure.yml @@ -28,14 +28,14 @@ env: jobs: build: - name: Build and Deploy .NET5 Web API + name: Build and Deploy .NET6 Web API runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Set up dotnet Core ${{ env.NETCORE_VERSION }} - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.NETCORE_VERSION }} - name: Restore dependencies (${{env.SOLUTION_FILE}}) @@ -48,7 +48,7 @@ jobs: run: dotnet publish --configuration Release --output ${{ env.PUBLISH_FOLDER_RELATIVE }} working-directory: ${{env.PROJECT_DIRECTORY}} - name: 'Deploy to Azure WebApp' - uses: azure/webapps-deploy@v2 + uses: azure/webapps-deploy@v3 with: app-name: ${{ env.AZURE_WEBAPP_NAME }} publish-profile: ${{ secrets.AZURE_MARKETPLACE_BACK_PUBLISHSETTINGS }} diff --git a/.github/workflows/backend-publish-stage-azure.yml b/.github/workflows/backend-publish-stage-azure.yml index e21804e0..c06fe969 100644 --- a/.github/workflows/backend-publish-stage-azure.yml +++ b/.github/workflows/backend-publish-stage-azure.yml @@ -27,14 +27,14 @@ env: jobs: build: - name: Build and Deploy .NET5 Web API + name: Build and Deploy .NET6 Web API runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Set up dotnet Core ${{ env.NETCORE_VERSION }} - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.NETCORE_VERSION }} - name: Restore dependencies (${{env.SOLUTION_FILE}}) @@ -47,7 +47,7 @@ jobs: run: dotnet publish --configuration Staging --output ${{ env.PUBLISH_FOLDER_RELATIVE }} working-directory: ${{env.PROJECT_DIRECTORY}} - name: 'Deploy to Azure WebApp' - uses: azure/webapps-deploy@v2 + uses: azure/webapps-deploy@v3 with: app-name: ${{ env.AZURE_WEBAPP_NAME }} publish-profile: ${{ secrets.STAGE_AZURE_MARKETPLACE_BACK_PUBLISHSETTINGS }} diff --git a/.github/workflows/frontend--publish-azure.yml b/.github/workflows/frontend--publish-azure.yml index 7e6f6824..82f022f1 100644 --- a/.github/workflows/frontend--publish-azure.yml +++ b/.github/workflows/frontend--publish-azure.yml @@ -40,9 +40,9 @@ jobs: name: 'Build and Deploy React front End' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} - name: 'Build React Code - npm install, build' @@ -55,7 +55,7 @@ jobs: npm install npm run build --if-present - name: 'Deploy to Azure WebApp' - uses: azure/webapps-deploy@v2 + uses: azure/webapps-deploy@v3 with: app-name: ${{ env.AZURE_WEBAPP_NAME }} publish-profile: ${{ secrets.AZURE_MARKETPLACE_FRONT_PUBLISHSETTINGS }} diff --git a/.github/workflows/frontend--publish-stage-azure.yml b/.github/workflows/frontend--publish-stage-azure.yml index a9d02fe4..b27a8b9a 100644 --- a/.github/workflows/frontend--publish-stage-azure.yml +++ b/.github/workflows/frontend--publish-stage-azure.yml @@ -40,9 +40,9 @@ jobs: name: 'Build and Deploy React front End' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} - name: 'Copy robots.Staging.txt into robots.txt (stage environment only)' @@ -82,7 +82,7 @@ jobs: npm install npm run build:staging --if-present - name: 'Deploy to Azure WebApp' - uses: azure/webapps-deploy@v2 + uses: azure/webapps-deploy@v3 with: app-name: ${{ env.AZURE_WEBAPP_NAME }} publish-profile: ${{ secrets.STAGE_AZURE_MARKETPLACE_FRONT_PUBLISHSETTINGS }} diff --git a/.github/workflows/tests-in-browser.yml b/.github/workflows/tests-in-browser.yml index bc7c9a9e..447c3d5e 100644 --- a/.github/workflows/tests-in-browser.yml +++ b/.github/workflows/tests-in-browser.yml @@ -25,18 +25,18 @@ env: # Project file to use PROJECT_NAME: 'CESMII.Marketplace.Api' # set this to the .NET core version to use - NETCORE_VERSION: "6.x" + NETCORE_VERSION: "6.0.x" jobs: build: name: Tests In Browser runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: true - name: Set up dotnet Core ${{ env.NETCORE_VERSION }} - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.NETCORE_VERSION }} - name: Restore dependencies (${{env.SOLUTION_FILE}}) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 970906ed..b6c2e100 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,11 +32,11 @@ jobs: name: Build and Test .NET6 Web API runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: true - name: Set up dotnet Core ${{ env.NETCORE_VERSION }} - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.NETCORE_VERSION }} - name: Restore dependencies (${{env.SOLUTION_FILE}})