From c530b67f0a3759372b353096c42bebde9b8658a3 Mon Sep 17 00:00:00 2001 From: Asriel Camora Date: Thu, 14 Mar 2024 11:20:20 -0700 Subject: [PATCH] CI/CD updates --- .github/workflows/build.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c862fe5..b784fcb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: submodules: recursive - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0' @@ -48,14 +48,14 @@ jobs: run: python ./.github/create_unofficial.py ${{env.PROJECT_NAME}} - name: Upload Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{env.PROJECT_NAME}} path: ${{env.PROJECT_NAME}}/bin/x64/Release/${{env.PROJECT_NAME}} if-no-files-found: error - name: Upload Test Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: TestResults @@ -88,10 +88,9 @@ jobs: submodules: recursive - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: | - 7.0 8.0 9.0 @@ -109,13 +108,13 @@ jobs: dotnet run --configuration Release --project Benchmark -- -e json html github csv -f * -d -m - name: Upload Test Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: BenchmarkResults path: BenchmarkDotNet.Artifacts - name: Cache Benchmark Data - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ./bench-cache key: ${{runner.os}}-${{ github.head_ref || github.ref_name }}-benchmark