From cfbf5ef1c1eb4ad7eda39d98b72e6793dfe4d2e3 Mon Sep 17 00:00:00 2001 From: rvazarkar Date: Tue, 26 Sep 2023 13:28:51 -0400 Subject: [PATCH] chore: update build/publish to netcore7 --- .github/workflows/build.yml | 8 +++++--- .github/workflows/publish.yml | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 98525761..d885332f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,12 +6,14 @@ jobs: build: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: - dotnet-version: 5.0.x + dotnet-version: | + 7.0.x + 5.0.x - name: Restore dependencies run: dotnet restore diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 10d1b666..f413190d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout Code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Parse Version uses: web3j/substr-action@v1.2 @@ -21,9 +21,11 @@ jobs: start: 1 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: - dotnet-version: 5.0.x + dotnet-version: | + 7.0.x + 5.0.x - name: Restore Dependencies run: dotnet restore