From b839cd6bf67739acb23e538fe84f07aeb0a568c8 Mon Sep 17 00:00:00 2001 From: Mira Date: Sun, 22 Dec 2024 21:17:21 +0100 Subject: [PATCH] update gh actions --- .github/workflows/build-and-test.yaml | 15 +++++++-------- .github/workflows/manual-release.yaml | 6 +++--- .github/workflows/publish-nuget.yml | 6 +++--- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 82a2748..5942b7f 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -6,17 +6,16 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: recursive - - name: Setup .NET Core SDK 6.0.x - uses: actions/setup-dotnet@v1.7.2 + - name: Setup .NET + uses: actions/setup-dotnet@v4 with: - dotnet-version: '6.0.x' - - name: Setup .NET Core SDK 3.1.x - uses: actions/setup-dotnet@v1.7.2 - with: - dotnet-version: '3.1.x' + dotnet-version: | + 8.0.x + 6.0.x + 3.1.x - name: Install dependencies run: dotnet restore - name: Build diff --git a/.github/workflows/manual-release.yaml b/.github/workflows/manual-release.yaml index 3d4d461..e8cfab8 100644 --- a/.github/workflows/manual-release.yaml +++ b/.github/workflows/manual-release.yaml @@ -19,13 +19,13 @@ jobs: EXPECTED_VERSION: ${{inputs.version }} EXPECTED_LUMINA_VERSION: ${{inputs.lumina-version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 47752ea..b65908c 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -79,13 +79,13 @@ jobs: EXPECTED_VERSION: ${{needs.tag.outputs.version }} EXPECTED_LUMINA_VERSION: ${{needs.tag-lumina.outputs.version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Restore dependencies run: dotnet restore - name: Build