From 0f48fc7aab4533e2b2f14c9e91813394c0dada8c Mon Sep 17 00:00:00 2001 From: Shane32 Date: Tue, 20 Aug 2024 02:15:34 -0400 Subject: [PATCH] Update CI workflows --- .github/workflows/build.yml | 4 ++-- .github/workflows/publish.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9047cba..4a16dce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,9 +12,9 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use .NET Core 6.0 SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: '6.0.x' source-url: https://nuget.pkg.github.com/Shane32/index.json diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b0beb71..7fc3752 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Check github.ref starts with 'refs/tags/' if: ${{ !startsWith(github.ref, 'refs/tags/') }} run: | @@ -24,7 +24,7 @@ jobs: echo version=$version echo "version=$version" >> $GITHUB_ENV - name: Use .NET Core 6.0 SDK - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: '6.0.x' source-url: https://api.nuget.org/v3/index.json diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 08ace05..0aa1866 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,9 +20,9 @@ jobs: - windows-latest steps: - name: Checkout source - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use .NET Core SDK - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@v4 with: dotnet-version: 6.x source-url: https://nuget.pkg.github.com/Shane32/index.json