From 97d067159e66344c40602df94c7d57392ff4696c Mon Sep 17 00:00:00 2001 From: Damian Hickey <57436+damianh@users.noreply.github.com> Date: Tue, 18 Feb 2025 11:08:46 +0100 Subject: [PATCH] Stop pushing packages to myget --- .github/workflow-gen/Program.cs | 2 -- .github/workflows/access-token-management-release.yml | 3 --- .github/workflows/identity-model-oidc-client-release.yml | 3 --- .github/workflows/identity-model-release.yml | 3 --- .github/workflows/ignore-this-release.yml | 3 --- 5 files changed, 14 deletions(-) diff --git a/.github/workflow-gen/Program.cs b/.github/workflow-gen/Program.cs index ffc10b74..ac4599e1 100644 --- a/.github/workflow-gen/Program.cs +++ b/.github/workflow-gen/Program.cs @@ -147,8 +147,6 @@ git tag -a {component.TagPrefix}-{contexts.Event.Input.Version} -m ""Release v{c tagJob.StepSign(true); - tagJob.StepPush("MyGet", "https://www.myget.org/F/duende_identityserver/api/v2/package", "MYGET"); - tagJob.StepPush("GitHub", "https://nuget.pkg.github.com/DuendeSoftware/index.json", "GITHUB_TOKEN") .Env(("GITHUB_TOKEN", contexts.Secrets.GitHubToken), ("NUGET_AUTH_TOKEN", contexts.Secrets.GitHubToken)); diff --git a/.github/workflows/access-token-management-release.yml b/.github/workflows/access-token-management-release.yml index 024ebcc9..aea02dda 100644 --- a/.github/workflows/access-token-management-release.yml +++ b/.github/workflows/access-token-management-release.yml @@ -55,9 +55,6 @@ jobs: for file in artifacts/*.nupkg; do dotnet NuGetKeyVaultSignTool sign "$file" --file-digest sha256 --timestamp-rfc3161 http://timestamp.digicert.com --azure-key-vault-url https://duendecodesigninghsm.vault.azure.net/ --azure-key-vault-client-id 18e3de68-2556-4345-8076-a46fad79e474 --azure-key-vault-tenant-id ed3089f0-5401-4758-90eb-066124e2d907 --azure-key-vault-client-secret ${{ secrets.SignClientSecret }} --azure-key-vault-certificate NuGetPackageSigning done - - name: Push packages to MyGet - if: github.ref == 'refs/heads/main' - run: dotnet nuget push artifacts/*.nupkg --source https://www.myget.org/F/duende_identityserver/api/v2/package --api-key ${{ secrets.MYGET }} --skip-duplicate - name: Push packages to GitHub if: github.ref == 'refs/heads/main' run: dotnet nuget push artifacts/*.nupkg --source https://nuget.pkg.github.com/DuendeSoftware/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate diff --git a/.github/workflows/identity-model-oidc-client-release.yml b/.github/workflows/identity-model-oidc-client-release.yml index 8005fbd0..44050f9f 100644 --- a/.github/workflows/identity-model-oidc-client-release.yml +++ b/.github/workflows/identity-model-oidc-client-release.yml @@ -55,9 +55,6 @@ jobs: for file in artifacts/*.nupkg; do dotnet NuGetKeyVaultSignTool sign "$file" --file-digest sha256 --timestamp-rfc3161 http://timestamp.digicert.com --azure-key-vault-url https://duendecodesigninghsm.vault.azure.net/ --azure-key-vault-client-id 18e3de68-2556-4345-8076-a46fad79e474 --azure-key-vault-tenant-id ed3089f0-5401-4758-90eb-066124e2d907 --azure-key-vault-client-secret ${{ secrets.SignClientSecret }} --azure-key-vault-certificate NuGetPackageSigning done - - name: Push packages to MyGet - if: github.ref == 'refs/heads/main' - run: dotnet nuget push artifacts/*.nupkg --source https://www.myget.org/F/duende_identityserver/api/v2/package --api-key ${{ secrets.MYGET }} --skip-duplicate - name: Push packages to GitHub if: github.ref == 'refs/heads/main' run: dotnet nuget push artifacts/*.nupkg --source https://nuget.pkg.github.com/DuendeSoftware/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate diff --git a/.github/workflows/identity-model-release.yml b/.github/workflows/identity-model-release.yml index 9a6efe92..60a48d4c 100644 --- a/.github/workflows/identity-model-release.yml +++ b/.github/workflows/identity-model-release.yml @@ -53,9 +53,6 @@ jobs: for file in artifacts/*.nupkg; do dotnet NuGetKeyVaultSignTool sign "$file" --file-digest sha256 --timestamp-rfc3161 http://timestamp.digicert.com --azure-key-vault-url https://duendecodesigninghsm.vault.azure.net/ --azure-key-vault-client-id 18e3de68-2556-4345-8076-a46fad79e474 --azure-key-vault-tenant-id ed3089f0-5401-4758-90eb-066124e2d907 --azure-key-vault-client-secret ${{ secrets.SignClientSecret }} --azure-key-vault-certificate NuGetPackageSigning done - - name: Push packages to MyGet - if: github.ref == 'refs/heads/main' - run: dotnet nuget push artifacts/*.nupkg --source https://www.myget.org/F/duende_identityserver/api/v2/package --api-key ${{ secrets.MYGET }} --skip-duplicate - name: Push packages to GitHub if: github.ref == 'refs/heads/main' run: dotnet nuget push artifacts/*.nupkg --source https://nuget.pkg.github.com/DuendeSoftware/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate diff --git a/.github/workflows/ignore-this-release.yml b/.github/workflows/ignore-this-release.yml index 67bffa96..583c0618 100644 --- a/.github/workflows/ignore-this-release.yml +++ b/.github/workflows/ignore-this-release.yml @@ -53,9 +53,6 @@ jobs: for file in artifacts/*.nupkg; do dotnet NuGetKeyVaultSignTool sign "$file" --file-digest sha256 --timestamp-rfc3161 http://timestamp.digicert.com --azure-key-vault-url https://duendecodesigninghsm.vault.azure.net/ --azure-key-vault-client-id 18e3de68-2556-4345-8076-a46fad79e474 --azure-key-vault-tenant-id ed3089f0-5401-4758-90eb-066124e2d907 --azure-key-vault-client-secret ${{ secrets.SignClientSecret }} --azure-key-vault-certificate NuGetPackageSigning done - - name: Push packages to MyGet - if: github.ref == 'refs/heads/main' - run: dotnet nuget push artifacts/*.nupkg --source https://www.myget.org/F/duende_identityserver/api/v2/package --api-key ${{ secrets.MYGET }} --skip-duplicate - name: Push packages to GitHub if: github.ref == 'refs/heads/main' run: dotnet nuget push artifacts/*.nupkg --source https://nuget.pkg.github.com/DuendeSoftware/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate