Skip to content

Publish nightly nupkg / Refactor dotTrace and dotMemory diagnosers All the common logic of profilers moved into SnapshotProfilerBase which is the base for DotMemoryDiagnoser and DotTraceDiagnoser. The common class is inside the main package, so it can be reused by other tools (not only by JetBrains, applicable for any command-line profiler). The dotTrace/dotMemory diagnoser classes have unique simple implementation. IsSupported is duplicated on purpose since future versions of dotTrace and dotMe... #180

Publish nightly nupkg / Refactor dotTrace and dotMemory diagnosers All the common logic of profilers moved into SnapshotProfilerBase which is the base for DotMemoryDiagnoser and DotTraceDiagnoser. The common class is inside the main package, so it can be reused by other tools (not only by JetBrains, applicable for any command-line profiler). The dotTrace/dotMemory diagnoser classes have unique simple implementation. IsSupported is duplicated on purpose since future versions of dotTrace and dotMe...

Publish nightly nupkg / Refactor dotTrace and dotMemory diagnosers All the common logic of profilers moved into SnapshotProfilerBase which is the base for DotMemoryDiagnoser and DotTraceDiagnoser. The common class is inside the main package, so it can be reused by other tools (not only by JetBrains, applicable for any command-line profiler). The dotTrace/dotMemory diagnoser classes have unique simple implementation. IsSupported is duplicated on purpose since future versions of dotTrace and dotMe... #180

name: publish-nightly
run-name: Publish nightly nupkg / ${{ github.event.head_commit.message }}
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
if: ${{ github.repository == 'dotnet/BenchmarkDotNet' }}
steps:
- uses: actions/checkout@v3
- name: Set date
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
- name: Pack
run: ./build.cmd pack /p:VersionSuffix=nightly.$DATE.$GITHUB_RUN_NUMBER
- name: Upload nupkg to artifacts
uses: actions/upload-artifact@v3
with:
name: nupkgs
path: "**/*.*nupkg"
- name: Publish nupkg
env:
MYGET_API_KEY: ${{ secrets.MYGET_API_KEY }}
run: ./.dotnet/dotnet nuget push **/*.nupkg --source https://www.myget.org/F/benchmarkdotnet/api/v3/index.json --api-key $MYGET_API_KEY --timeout 600