refactor: migrate from MassTransit/RabbitMQ worker to AWS SQS and Eve… #4
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 Contracts to NuGet | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'src/DotCruz.Notifications.Contracts/**' | |
| workflow_dispatch: | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Build and Pack | |
| run: dotnet pack src/DotCruz.Notifications.Contracts/DotCruz.Notifications.Contracts.csproj -c Release -o out | |
| - name: Push to NuGet.org | |
| run: dotnet nuget push out/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }} |