Skip to content

Commit f419181

Browse files
github-actions[bot]petesramekPete Sramek
authored
Promote develop/1.0 to preview/1.0 (#60)
Co-authored-by: Pete Sramek <me@petesramek.com> Co-authored-by: Pete Sramek <petr.sramek@dropoutcoder.com>
1 parent 1868803 commit f419181

File tree

2 files changed

+35
-39
lines changed

2 files changed

+35
-39
lines changed

.github/workflows/publish-documentation.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
name: 'Publish documentation'
22

33
on:
4-
workflow_run:
5-
workflows: ['build']
6-
7-
types:
8-
- completed
4+
workflow_dispatch:
95

106
permissions:
117
actions: read

.github/workflows/pull-request.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -215,37 +215,37 @@ jobs:
215215
working-directory: ${{ runner.temp }}/${{ env.nuget-packages-directory }}
216216
dotnet-sdk-version: ${{ env.dotnet-sdk-version }}'
217217

218-
# benchmark:
219-
# if: ${{ github.env.is_release || vars.BENCHMARKDOTNET_RUN_OVERRIDE == 'true' }}
220-
# name: Benchmark with .NET CLI on ${{ matrix.os }}
221-
# needs: [build]
222-
# strategy:
223-
# matrix:
224-
# os: [ubuntu-latest, windows-latest, macos-latest]
225-
# runs-on: ${{ matrix.os }}
226-
# steps:
227-
# - name: 'Checkout ${{ github.head_ref || github.ref }}'
228-
# uses: actions/checkout@v5
229-
# - name: Install .NET SDK
230-
# uses: actions/setup-dotnet@v4
231-
# with:
232-
# dotnet-version: |
233-
# 8.x
234-
# 9.x
235-
# - name: Download Build
236-
# uses: actions/download-artifact@v5
237-
# with:
238-
# name: build
239-
# - name: Benchmark
240-
# working-directory: ${{ vars.BENCHMARKDOTNET_WORKING_DIRECTORY }}
241-
# run: dotnet run --configuration ${{ env.build-configuration }} /p:Platform=${{ env.build-platform }} --framework ${{ vars.DEFAULT_BUILD_FRAMEWORK }} --runtimes ${{ vars.BENCHMARKDOTNET_RUNTIMES }} --filter ${{ vars.BENCHMARKDOTNET_FILTER }} --artifacts ${{ runner.temp }}/benchmarks/ --exporters GitHub --memory --iterationTime 100 --join
242-
# - name: Upload Benchmark Results
243-
# uses: actions/upload-artifact@v4
244-
# with:
245-
# name: benchmark-${{ matrix.os }}
246-
# path: |
247-
# ${{ runner.temp }}/benchmarks/**/*-report-github.md
248-
# - name: Write Benchmark Summary
249-
# shell: bash
250-
# run: cat **/*-report-github.md > $GITHUB_STEP_SUMMARY
251-
# working-directory: ${{ runner.temp }}/benchmarks/
218+
benchmark:
219+
if: ${{ github.env.is_release || vars.BENCHMARKDOTNET_RUN_OVERRIDE == 'true' }}
220+
name: Benchmark with .NET CLI on ${{ matrix.os }}
221+
needs: [build]
222+
strategy:
223+
matrix:
224+
os: [ubuntu-latest, windows-latest, macos-latest]
225+
runs-on: ${{ matrix.os }}
226+
steps:
227+
- name: 'Checkout ${{ github.head_ref || github.ref }}'
228+
uses: actions/checkout@v5
229+
- name: Install .NET SDK
230+
uses: actions/setup-dotnet@v4
231+
with:
232+
dotnet-version: |
233+
8.x
234+
9.x
235+
- name: Download Build
236+
uses: actions/download-artifact@v5
237+
with:
238+
name: build
239+
- name: Benchmark
240+
working-directory: ${{ vars.BENCHMARKDOTNET_WORKING_DIRECTORY }}
241+
run: dotnet run --configuration ${{ env.build-configuration }} /p:Platform=${{ env.build-platform }} --framework ${{ vars.DEFAULT_BUILD_FRAMEWORK }} --runtimes ${{ vars.BENCHMARKDOTNET_RUNTIMES }} --filter ${{ vars.BENCHMARKDOTNET_FILTER }} --artifacts ${{ runner.temp }}/benchmarks/ --exporters GitHub --memory --iterationTime 100 --join
242+
- name: Upload Benchmark Results
243+
uses: actions/upload-artifact@v4
244+
with:
245+
name: benchmark-${{ matrix.os }}
246+
path: |
247+
${{ runner.temp }}/benchmarks/**/*-report-github.md
248+
- name: Write Benchmark Summary
249+
shell: bash
250+
run: cat **/*-report-github.md > $GITHUB_STEP_SUMMARY
251+
working-directory: ${{ runner.temp }}/benchmarks/

0 commit comments

Comments
 (0)