SessionId support for Eventuous.Azure.ServiceBus (#474) #511
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 Preview NuGet | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| paths-ignore: | |
| - 'docs/**' | |
| - '*.md' | |
| jobs: | |
| nuget: | |
| runs-on: [ self-hosted, type-cpx52, setup-docker, volume-cache-50GB ] | |
| env: | |
| NUGET_PACKAGES: "/mnt/cache/.nuget/packages" | |
| DOTNET_INSTALL_DIR: "/mnt/cache/.dotnet" | |
| steps: | |
| - | |
| name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.8 | |
| - | |
| name: Checkout code | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - | |
| name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - | |
| name: Run tests | |
| run: dotnet test --framework net10.0 | |
| - | |
| name: Publish test results | |
| uses: EnricoMi/publish-unit-test-result-action/linux@v2 | |
| if: always() | |
| with: | |
| files: | | |
| test-results/**/*.xml | |
| test-results/**/*.trx | |
| - | |
| name: Create and push NuGet package | |
| run: | | |
| dotnet pack -c Debug -o nuget | |
| dotnet nuget push nuget/**/*.nupkg --skip-duplicate --api-key ${{ secrets.MYGET_API_KEY }} --source https://www.myget.org/F/${{ vars.MYGET_FEED_NAME || 'eventuous' }}/api/v3/index.json | |
| env: | |
| NUGET_AUTH_TOKEN: ${{ github.token }} |