From 94a9dc5da92ca1d8bbee862f1a3156b763f36d1f Mon Sep 17 00:00:00 2001 From: Paul Yao Date: Mon, 9 Oct 2023 17:50:28 -0400 Subject: [PATCH 1/7] Updating all marketplace github actions --- .github/workflows/backend-publish-azure.yml | 4 ++-- .github/workflows/backend-publish-stage-azure.yml | 4 ++-- .github/workflows/frontend--publish-azure.yml | 6 +++--- .github/workflows/frontend--publish-stage-azure.yml | 6 +++--- .github/workflows/tests.yml | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/backend-publish-azure.yml b/.github/workflows/backend-publish-azure.yml index 76d74b70..effdb923 100644 --- a/.github/workflows/backend-publish-azure.yml +++ b/.github/workflows/backend-publish-azure.yml @@ -35,7 +35,7 @@ jobs: with: submodules: true - name: Set up dotnet Core ${{ env.NETCORE_VERSION }} - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 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..c804a137 100644 --- a/.github/workflows/backend-publish-stage-azure.yml +++ b/.github/workflows/backend-publish-stage-azure.yml @@ -34,7 +34,7 @@ jobs: with: submodules: true - name: Set up dotnet Core ${{ env.NETCORE_VERSION }} - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 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..b126c2d1 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@v3 - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 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..0c3f89f2 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@v3 - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 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.yml b/.github/workflows/tests.yml index e3f5ba9e..9610642f 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@v3 with: submodules: true - name: Set up dotnet Core ${{ env.NETCORE_VERSION }} - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ env.NETCORE_VERSION }} - name: Restore dependencies (${{env.SOLUTION_FILE}}) From ac2551272edb37ae46c768d3d7dc33f9e7518182 Mon Sep 17 00:00:00 2001 From: Sean Coxen Date: Tue, 3 Sep 2024 13:24:46 -0400 Subject: [PATCH 2/7] Update backend-publish-azure.yml --- .github/workflows/backend-publish-azure.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/backend-publish-azure.yml b/.github/workflows/backend-publish-azure.yml index effdb923..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@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.NETCORE_VERSION }} - name: Restore dependencies (${{env.SOLUTION_FILE}}) From 2e2a23606191da91b4f481d944b85f6fdb5d70d4 Mon Sep 17 00:00:00 2001 From: Sean Coxen Date: Tue, 3 Sep 2024 13:25:21 -0400 Subject: [PATCH 3/7] Update backend-publish-stage-azure.yml --- .github/workflows/backend-publish-stage-azure.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/backend-publish-stage-azure.yml b/.github/workflows/backend-publish-stage-azure.yml index c804a137..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@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.NETCORE_VERSION }} - name: Restore dependencies (${{env.SOLUTION_FILE}}) From 1ace553743d39489fd17ac0af1fcb233cb946696 Mon Sep 17 00:00:00 2001 From: Sean Coxen Date: Tue, 3 Sep 2024 13:26:32 -0400 Subject: [PATCH 4/7] Update frontend--publish-azure.yml --- .github/workflows/frontend--publish-azure.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/frontend--publish-azure.yml b/.github/workflows/frontend--publish-azure.yml index b126c2d1..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@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} - name: 'Build React Code - npm install, build' From f6fd3b8887fb9e911c9aaef0214888b367b2f39c Mon Sep 17 00:00:00 2001 From: Sean Coxen Date: Tue, 3 Sep 2024 13:27:23 -0400 Subject: [PATCH 5/7] Update frontend--publish-stage-azure.yml --- .github/workflows/frontend--publish-stage-azure.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/frontend--publish-stage-azure.yml b/.github/workflows/frontend--publish-stage-azure.yml index 0c3f89f2..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@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} - name: 'Copy robots.Staging.txt into robots.txt (stage environment only)' From 56c102100096940f6bc059919ad009fc3b644ef6 Mon Sep 17 00:00:00 2001 From: Sean Coxen Date: Tue, 3 Sep 2024 13:29:20 -0400 Subject: [PATCH 6/7] Update tests-in-browser.yml --- .github/workflows/tests-in-browser.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests-in-browser.yml b/.github/workflows/tests-in-browser.yml index 617f730b..cd760bf4 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}}) From 9feb10bfb1a121d4420698b894d5cd97b71cfa4c Mon Sep 17 00:00:00 2001 From: Sean Coxen Date: Tue, 3 Sep 2024 13:29:44 -0400 Subject: [PATCH 7/7] Update tests.yml --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9610642f..da65e54d 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@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Set up dotnet Core ${{ env.NETCORE_VERSION }} - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.NETCORE_VERSION }} - name: Restore dependencies (${{env.SOLUTION_FILE}})