From a12f244f3d959c9ec816aa1468a3cca7b90ab081 Mon Sep 17 00:00:00 2001 From: Edgar Aparicio Baeza Date: Sun, 25 Aug 2024 03:02:25 -0600 Subject: [PATCH] Update github action --- .../workflows/{dotnet6.yml => release.yml} | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) rename .github/workflows/{dotnet6.yml => release.yml} (72%) diff --git a/.github/workflows/dotnet6.yml b/.github/workflows/release.yml similarity index 72% rename from .github/workflows/dotnet6.yml rename to .github/workflows/release.yml index 15016d6..a4b80af 100644 --- a/.github/workflows/dotnet6.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,9 @@ -name: .NET6 +name: .NET8 on: release: - types: [ published ] - branches: [ master ] + types: [published] + branches: [master] jobs: @@ -13,8 +13,7 @@ jobs: matrix: configuration: [Release] - runs-on: windows-latest # For a list of available runner types, refer to - # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on + runs-on: windows-latest env: Solution_Name: Resource Manager.sln # Replace with your solution name, i.e. MyWpfApp.sln. @@ -24,19 +23,19 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - # Install the .NET Core workload - - name: Install .NET Core - uses: actions/setup-dotnet@v1 + # Install the .NET 8 SDK + - name: Install .NET SDK + uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild - name: Setup MSBuild.exe - uses: microsoft/setup-msbuild@v1.0.2 + uses: microsoft/setup-msbuild@v1.1.3 # Execute all unit tests in the solution # - name: Execute unit tests @@ -49,4 +48,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: ResourceManager - path: bin + path: bin \ No newline at end of file