From a64f53bc29a598b64e3ca6572eebc3876f38894e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Draga=C5=84czuk?= Date: Tue, 12 Sep 2023 13:51:33 +0200 Subject: [PATCH 1/2] Add test client releases to CD --- .github/workflows/publisher_cd.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publisher_cd.yml b/.github/workflows/publisher_cd.yml index 2d10fc8..a2c6817 100644 --- a/.github/workflows/publisher_cd.yml +++ b/.github/workflows/publisher_cd.yml @@ -36,15 +36,24 @@ jobs: env: BUILD_VERSION: ${{ steps.version.outputs.version }} run: dotnet test --no-restore -c Release - - name: Pack + - name: Pack Publisher env: BUILD_VERSION: ${{ steps.version.outputs.version }} run: dotnet pack --no-build -c Release working-directory: ./publisher/src/LeanPipe + - name: Pack Test Client + env: + BUILD_VERSION: ${{ steps.version.outputs.version }} + run: dotnet pack --no-build -c Release + working-directory: ./publisher/src/LeanPipe.TestClient - name: Publish to Feedz run: | - dotnet nuget push "bin/Release/LeanPipe.${BUILD_VERSION}.nupkg" -k "$FEEDZ_API_KEY" -s 'https://f.feedz.io/leancode/public/nuget/index.json' -n - working-directory: ./publisher/src/LeanPipe + dotnet nuget push \ + "src/LeanPipe/bin/Release/LeanPipe.${BUILD_VERSION}.nupkg" \ + "src/LeanPipe.TestClient/bin/Release/LeanPipe.TestClient.${BUILD_VERSION}.nupkg" \ + -k "$FEEDZ_API_KEY" \ + -s 'https://f.feedz.io/leancode/public/nuget/index.json' \ + -n env: BUILD_VERSION: ${{ steps.version.outputs.version }} FEEDZ_API_KEY: ${{ secrets.FEEDZ_API_KEY }} \ No newline at end of file From c9a155183d3dc68af33e715b4b3f0d1c13d2e11c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Draga=C5=84czuk?= Date: Tue, 12 Sep 2023 14:12:25 +0200 Subject: [PATCH 2/2] Fix `PackageProjectUrl` --- publisher/Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publisher/Directory.Build.props b/publisher/Directory.Build.props index 26b8420..49af3e3 100644 --- a/publisher/Directory.Build.props +++ b/publisher/Directory.Build.props @@ -13,7 +13,7 @@ LeanCode LeanCode Copyright 2023 LeanCode Sp. z o.o. - https://github.com/leancodepl/leanpipe/publisher + https://github.com/leancodepl/leanpipe https://github.com/leancodepl/leanpipe $(GITHUB_SHA)