From f2220b6ebea11113ef4598d858931a8cecf5d4d5 Mon Sep 17 00:00:00 2001 From: Lance McCarthy Date: Thu, 1 Feb 2024 15:46:37 -0500 Subject: [PATCH] Update workflow actions to use Node20 version (#139) --- .github/workflows/main_build-ajax.yml | 6 +++--- .github/workflows/main_build-angular.yml | 2 +- .github/workflows/main_build-aspnetcore.yml | 8 ++++---- .github/workflows/main_build-blazor.yml | 12 ++++++------ .github/workflows/main_build-console.yml | 4 ++-- .github/workflows/main_build-maui.yml | 20 ++++++++++---------- .github/workflows/main_build-uwp.yml | 4 ++-- .github/workflows/main_build-winforms.yml | 6 +++--- .github/workflows/main_build-winui.yml | 6 +++--- .github/workflows/main_build-wpf.yml | 6 +++--- .github/workflows/main_build-xamarin.yml | 14 +++++++------- 11 files changed, 44 insertions(+), 44 deletions(-) diff --git a/.github/workflows/main_build-ajax.yml b/.github/workflows/main_build-ajax.yml index 5082a1c..300420e 100644 --- a/.github/workflows/main_build-ajax.yml +++ b/.github/workflows/main_build-ajax.yml @@ -17,15 +17,15 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Nuget.exe - uses: nuget/setup-nuget@v1.1.1 + uses: nuget/setup-nuget@v2 - name: Setup MSBuild.exe - uses: microsoft/setup-msbuild@v1.1.3 + uses: microsoft/setup-msbuild@v1.3.2 # We are using nuget.exe to restore the nuget packages before using msbuild. See https://docs.microsoft.com/en-us/nuget/reference/nuget-exe-cli-reference - name: NuGet.exe Restore diff --git a/.github/workflows/main_build-angular.yml b/.github/workflows/main_build-angular.yml index 334b0eb..a40cee0 100644 --- a/.github/workflows/main_build-angular.yml +++ b/.github/workflows/main_build-angular.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install NPM modules working-directory: src/Kendo/angular_demo diff --git a/.github/workflows/main_build-aspnetcore.yml b/.github/workflows/main_build-aspnetcore.yml index d0d0955..b334690 100644 --- a/.github/workflows/main_build-aspnetcore.yml +++ b/.github/workflows/main_build-aspnetcore.yml @@ -20,7 +20,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -51,18 +51,18 @@ jobs: - name: Get package metadata from Docker Hub id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: lancemccarthy/myaspnetcoreapp - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ steps.akeyless.outputs.DOCKER_HUB_USERNAME }} password: ${{ steps.akeyless.outputs.DOCKER_HUB_PAT }} - name: Build and push to Docker Hub - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: src/AspNetCore/MyAspNetCoreApp push: true diff --git a/.github/workflows/main_build-blazor.yml b/.github/workflows/main_build-blazor.yml index 78b805e..1f5da4e 100644 --- a/.github/workflows/main_build-blazor.yml +++ b/.github/workflows/main_build-blazor.yml @@ -22,12 +22,12 @@ jobs: runs-on: windows-2022 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' @@ -73,12 +73,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' @@ -122,14 +122,14 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # Using GitHub Actions secrets, we can pass in the Telerik NuGet key to be mounted in the Dockerfile's commands # NOTE: this job does NOT push to Dockerhub because the previous job above already does that - name: Build Docker - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: src/Blazor/MyBlazorApp push: false diff --git a/.github/workflows/main_build-console.yml b/.github/workflows/main_build-console.yml index 8754a70..3cb9fce 100644 --- a/.github/workflows/main_build-console.yml +++ b/.github/workflows/main_build-console.yml @@ -29,12 +29,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' diff --git a/.github/workflows/main_build-maui.yml b/.github/workflows/main_build-maui.yml index ac86dd7..2b33514 100644 --- a/.github/workflows/main_build-maui.yml +++ b/.github/workflows/main_build-maui.yml @@ -25,16 +25,16 @@ jobs: runs-on: windows-2022 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: 'microsoft' java-version: '11' @@ -67,18 +67,18 @@ jobs: runs-on: windows-2022 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' # For WinUI builds - name: Add msbuild to PATH - uses: microsoft/setup-msbuild@v1.1.3 + uses: microsoft/setup-msbuild@v1.3.2 - name: Generate version number using date and run number shell: pwsh @@ -108,7 +108,7 @@ jobs: runs-on: macos-12 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -117,7 +117,7 @@ jobs: # xcode-version: latest - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' @@ -151,7 +151,7 @@ jobs: runs-on: macos-12 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -160,7 +160,7 @@ jobs: # xcode-version: latest - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' diff --git a/.github/workflows/main_build-uwp.yml b/.github/workflows/main_build-uwp.yml index 0111e4a..3ad90d1 100644 --- a/.github/workflows/main_build-uwp.yml +++ b/.github/workflows/main_build-uwp.yml @@ -20,12 +20,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup MSBuild.exe - uses: microsoft/setup-msbuild@v1.1.3 + uses: microsoft/setup-msbuild@v1.3.2 with: msbuild-architecture: x64 diff --git a/.github/workflows/main_build-winforms.yml b/.github/workflows/main_build-winforms.yml index 6135c28..a0aaad6 100644 --- a/.github/workflows/main_build-winforms.yml +++ b/.github/workflows/main_build-winforms.yml @@ -17,17 +17,17 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' - name: Setup MSBuild.exe - uses: microsoft/setup-msbuild@v1.1.3 + uses: microsoft/setup-msbuild@v1.3.2 # We use the dotnet CLI (instead of nuget.exe) to restore the nuget packages before using msbuild - name: NuGet Restore diff --git a/.github/workflows/main_build-winui.yml b/.github/workflows/main_build-winui.yml index d282598..5279a8e 100644 --- a/.github/workflows/main_build-winui.yml +++ b/.github/workflows/main_build-winui.yml @@ -27,17 +27,17 @@ jobs: runs-on: windows-2022 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' - name: Add msbuild to PATH - uses: microsoft/setup-msbuild@v1.1.3 + uses: microsoft/setup-msbuild@v1.3.2 - name: Restore NuGet packages shell: pwsh diff --git a/.github/workflows/main_build-wpf.yml b/.github/workflows/main_build-wpf.yml index c31b267..e3c8b7b 100644 --- a/.github/workflows/main_build-wpf.yml +++ b/.github/workflows/main_build-wpf.yml @@ -17,17 +17,17 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install .NET SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' - name: Setup MSBuild.exe - uses: microsoft/setup-msbuild@v1.1.3 + uses: microsoft/setup-msbuild@v1.3.2 # We use the dotnet CLI (instead of nuget.exe) to restore the nuget packages before using msbuild - name: NuGet Restore diff --git a/.github/workflows/main_build-xamarin.yml b/.github/workflows/main_build-xamarin.yml index bf28f1a..d41efd1 100644 --- a/.github/workflows/main_build-xamarin.yml +++ b/.github/workflows/main_build-xamarin.yml @@ -25,7 +25,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -37,10 +37,10 @@ jobs: echo "APP_VERSION=$ver" >> $GITHUB_ENV - name: Setup MSBuild.exe - uses: microsoft/setup-msbuild@v1.1.3 + uses: microsoft/setup-msbuild@v1.3.2 - name: Setup Nuget.exe - uses: nuget/setup-nuget@v1.1.1 + uses: nuget/setup-nuget@v2 - name: NuGet Restore - Class Library Project run: nuget restore ${{ env.FORMS_PROJECT_PATH }} -ConfigFile ${{ env.NUGETCONFIG_PATH }} @@ -62,7 +62,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -74,10 +74,10 @@ jobs: echo "APP_VERSION=$ver" >> $GITHUB_ENV - name: Setup MSBuild.exe - uses: microsoft/setup-msbuild@v1.1.3 + uses: microsoft/setup-msbuild@v1.3.2 - name: Setup Nuget.exe - uses: nuget/setup-nuget@v1.1.1 + uses: nuget/setup-nuget@v2 - name: NuGet Restore - Class Library Project run: nuget restore ${{ env.FORMS_PROJECT_PATH }} -ConfigFile ${{ env.NUGETCONFIG_PATH }} @@ -99,7 +99,7 @@ jobs: runs-on: macos-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0