Bump Meziantou.Analyzer from 3.0.54 to 3.0.56 (#396) #337
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: Nightly MyGet Package Deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| env: | |
| DOTNET_CLI_TELEMETRY_OPTOUT: 'true' | |
| steps: | |
| - name: Setup .Net | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 9.0.x | |
| 10.0.x | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 # This will fetch the full history | |
| - name: Install GitVersion | |
| uses: gittools/actions/gitversion/setup@v4.5.0 | |
| with: | |
| versionSpec: '6.x' | |
| - name: Use GitVersion | |
| id: gitversion # step id used as reference for output values | |
| uses: gittools/actions/gitversion/execute@v4.5.0 | |
| - run: | | |
| echo "MajorMinorPatch: ${{ steps.gitversion.outputs.MajorMinorPatch }}" | |
| echo "FullSemVer: ${{ steps.gitversion.outputs.FullSemVer }}" | |
| echo "CommitsSinceVersionSource: ${{ steps.gitversion.outputs.CommitsSinceVersionSource }}" | |
| - name: Tool restore | |
| run: dotnet tool restore | |
| - name: Restore with .Net | |
| run: dotnet restore --nologo | |
| - name: Build with .Net | |
| run: dotnet build --configuration Release --no-restore --nologo "-p:Version=${{ steps.gitversion.outputs.FullSemVer }}" | |
| - name: Pack with .Net | |
| run: | | |
| dotnet pack src/Aviationexam.PayPalSdk.Common/Aviationexam.PayPalSdk.Common.csproj --nologo --no-build --configuration Release --output nuget-packages -p:PackageVersion=${{ steps.gitversion.outputs.FullSemVer }} | |
| dotnet pack src/Aviationexam.PayPalSdk.Orders/Aviationexam.PayPalSdk.Orders.csproj --nologo --no-build --configuration Release --output nuget-packages -p:PackageVersion=${{ steps.gitversion.outputs.FullSemVer }} | |
| dotnet pack src/Aviationexam.PayPalSdk.Payments/Aviationexam.PayPalSdk.Payments.csproj --nologo --no-build --configuration Release --output nuget-packages -p:PackageVersion=${{ steps.gitversion.outputs.FullSemVer }} | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: Nuget-packages-${{ steps.gitversion.outputs.FullSemVer }} | |
| path: nuget-packages | |
| - name: Push package to Myget | |
| if: ${{ vars.USE_MYGET == 'true' }} | |
| run: dotnet nuget push 'nuget-packages/*.nupkg' --api-key ${{ secrets.MYGET_API_KEY }} --source https://www.myget.org/F/paypal-sdk-checkout/api/v3/index.json | |
| - name: Push package to Feedz | |
| if: ${{ vars.USE_FEEDZ == 'true' }} | |
| run: dotnet nuget push 'nuget-packages/*.nupkg' --api-key ${{ secrets.FEEDZ_API_KEY }} --source https://f.feedz.io/aviationexam/paypal-sdk-checkout/nuget/index.json |