Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update workflow actions to use Node20 version #139

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/main_build-ajax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main_build-angular.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main_build-aspnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/main_build-blazor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -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'

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main_build-console.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/main_build-maui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -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'

Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -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'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main_build-uwp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main_build-winforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main_build-winui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main_build-wpf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/main_build-xamarin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -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 }}
Expand All @@ -62,7 +62,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -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 }}
Expand All @@ -99,7 +99,7 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
Loading