CI/CD updates
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v3
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.0'
|
dotnet-version: '8.0'
|
||||||
|
|
||||||
@@ -48,14 +48,14 @@ jobs:
|
|||||||
run: python ./.github/create_unofficial.py ${{env.PROJECT_NAME}}
|
run: python ./.github/create_unofficial.py ${{env.PROJECT_NAME}}
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{env.PROJECT_NAME}}
|
name: ${{env.PROJECT_NAME}}
|
||||||
path: ${{env.PROJECT_NAME}}/bin/x64/Release/${{env.PROJECT_NAME}}
|
path: ${{env.PROJECT_NAME}}/bin/x64/Release/${{env.PROJECT_NAME}}
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload Test Results
|
- name: Upload Test Results
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
if: ${{ !cancelled() }}
|
if: ${{ !cancelled() }}
|
||||||
with:
|
with:
|
||||||
name: TestResults
|
name: TestResults
|
||||||
@@ -88,10 +88,9 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v3
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: |
|
dotnet-version: |
|
||||||
7.0
|
|
||||||
8.0
|
8.0
|
||||||
9.0
|
9.0
|
||||||
|
|
||||||
@@ -109,13 +108,13 @@ jobs:
|
|||||||
dotnet run --configuration Release --project Benchmark -- -e json html github csv -f * -d -m
|
dotnet run --configuration Release --project Benchmark -- -e json html github csv -f * -d -m
|
||||||
|
|
||||||
- name: Upload Test Results
|
- name: Upload Test Results
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: BenchmarkResults
|
name: BenchmarkResults
|
||||||
path: BenchmarkDotNet.Artifacts
|
path: BenchmarkDotNet.Artifacts
|
||||||
|
|
||||||
- name: Cache Benchmark Data
|
- name: Cache Benchmark Data
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ./bench-cache
|
path: ./bench-cache
|
||||||
key: ${{runner.os}}-${{ github.head_ref || github.ref_name }}-benchmark
|
key: ${{runner.os}}-${{ github.head_ref || github.ref_name }}-benchmark
|
||||||
|
|||||||
Reference in New Issue
Block a user