CI/CD updates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user