diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 0129756a6ca..db1a73fa17b 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -33,7 +33,7 @@ ] }, "sign": { - "version": "0.9.1-beta.24312.3", + "version": "0.9.1-beta.24469.1", "commands": [ "sign" ] diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7073230cf9..812ad559259 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: env: # HACK Running on Windows instead of Linux due to https://github.com/stryker-mutator/stryker-net/issues/2741 - RUN_MUTATION_TESTS: ${{ matrix.os_name == 'windows' && !startsWith(github.ref, 'refs/tags/') && 'true' || 'false' }} + RUN_MUTATION_TESTS: 'false' outputs: dotnet-sdk-version: ${{ steps.setup-dotnet.outputs.dotnet-version }} @@ -163,9 +163,6 @@ jobs: sign: needs: [ build, validate-packages ] runs-on: windows-latest - if: | - github.event.repository.fork == false && - startsWith(github.ref, 'refs/tags/') steps: @@ -207,9 +204,6 @@ jobs: --description "Polly" ` --description-url "https://github.com/${{ github.repository }}" ` --azure-key-vault-certificate "${{ secrets.SIGN_CLI_CERT_NAME }}" ` - --azure-key-vault-client-id ${env:AZURE_CLIENT_ID} ` - --azure-key-vault-client-secret ${env:AZURE_CLIENT_SECRET} ` - --azure-key-vault-tenant-id ${env:AZURE_TENANT_ID} ` --azure-key-vault-url "${{ secrets.SIGN_CLI_VAULT_URI }}" ` --verbosity "${{ runner.debug == '1' && 'Debug' || 'Warning' }}" if ($LASTEXITCODE -ne 0) { @@ -338,40 +332,3 @@ jobs: } else { Write-Output "All $($packages.Length) NuGet packages have valid signatures." } - - publish-nuget: - needs: [ build, validate-signed-packages ] - runs-on: ubuntu-latest - steps: - - - name: Download signed packages - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 - with: - name: signed-packages - - - name: Setup .NET SDK - uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1 - with: - dotnet-version: ${{ needs.build.outputs.dotnet-sdk-version }} - - - name: Push signed NuGet packages to NuGet.org - run: dotnet nuget push "*.nupkg" --api-key ${{ secrets.NUGET_TOKEN }} --skip-duplicate --source https://api.nuget.org/v3/index.json - - - name: Generate GitHub application token - id: generate-application-token - uses: peter-murray/workflow-application-token-action@dc0413987a085fa17d19df9e47d4677cf81ffef3 # v3.0.0 - with: - application_id: ${{ secrets.POLLY_UPDATER_BOT_APP_ID }} - application_private_key: ${{ secrets.POLLY_UPDATER_BOT_KEY }} - permissions: 'contents:write' - - - name: Publish nuget_packages_published - uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0 - with: - event-type: nuget_packages_published - token: ${{ steps.generate-application-token.outputs.token }} - client-payload: |- - { - "packages": "${{ needs.build.outputs.package-names }}", - "version": "${{ needs.build.outputs.package-version }}" - }