From 7f7a13cf5772c37197511b23d71117a99c20c089 Mon Sep 17 00:00:00 2001 From: cormacdalton <145557886+cormacdalton@users.noreply.github.com> Date: Thu, 4 Dec 2025 15:38:53 +0000 Subject: [PATCH] Delete .github/workflows/dotnet-desktop.yml --- .github/workflows/dotnet-desktop.yml | 42 ---------------------------- 1 file changed, 42 deletions(-) delete mode 100644 .github/workflows/dotnet-desktop.yml diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml deleted file mode 100644 index 449f5c3..0000000 --- a/.github/workflows/dotnet-desktop.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Publish - -on: - release: - types: [published] - -jobs: - build: - - runs-on: windows-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Install .NET Core - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 8.0.x - - - name: Install dependencies - run: dotnet restore - - - name: Build and Test - run: dotnet test -c Release Mastercard.Developer.ClientEncryption.Tests/Mastercard.Developer.ClientEncryption.Tests.csproj - - - name: Pack - run: | - dotnet pack -c Release Mastercard.Developer.ClientEncryption.Core/Mastercard.Developer.ClientEncryption.Core.csproj - dotnet pack -c Release Mastercard.Developer.ClientEncryption.RestSharp/Mastercard.Developer.ClientEncryption.RestSharp.csproj - dotnet pack -c Release Mastercard.Developer.ClientEncryption.RestSharpV2/Mastercard.Developer.ClientEncryption.RestSharpV2.csproj - - - name: Get Package Version - run: | - [xml]$csproj = Get-Content Mastercard.Developer.ClientEncryption.Core/Mastercard.Developer.ClientEncryption.Core.csproj - $version = $csproj.Project.PropertyGroup.Version - "PACKAGE_VERSION=$version" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - - - name: Publish to NuGet - run: | - dotnet nuget push Mastercard.Developer.ClientEncryption.RestSharp/bin/Release/Mastercard.Developer.ClientEncryption.RestSharp.${{ env.PACKAGE_VERSION }}.nupkg -k ${{ secrets.NUGET_API_KEY }} -sk ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json - dotnet nuget push Mastercard.Developer.ClientEncryption.RestSharpV2/bin/Release/Mastercard.Developer.ClientEncryption.RestSharpV2.${{ env.PACKAGE_VERSION }}.nupkg -k ${{ secrets.NUGET_API_KEY }} -sk ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json - dotnet nuget push Mastercard.Developer.ClientEncryption.Core/bin/Release/Mastercard.Developer.ClientEncryption.Core.${{ env.PACKAGE_VERSION }}.nupkg -k ${{ secrets.NUGET_API_KEY }} -sk ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json