Publish nightly nupkg / deps: Update AsmResolver.DotNet version to 6.0.0 (#3167) * deps: update AsmResolver.DotNet version to 6.0.0 * deps: re-pack Weaver for AsmResolver.DotNet 6.0.0 Increment WeaverVersionSuffix and re-pack the BenchmarkDotNet.Weaver package per the project's csproj header instructions. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Tim Cassell <cassell.timothy@gmail.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> #558
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: publish-nightly | |
| run-name: Publish nightly nupkg / ${{ github.event.head_commit.message }} | |
| on: | |
| push: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.repository == 'dotnet/BenchmarkDotNet' }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - 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 /p:WeaverVersionSuffix=\"\" | |
| - name: Upload nupkg to artifacts | |
| uses: actions/upload-artifact@v7 | |
| 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 |