Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test client releases to CD #19

Merged
merged 2 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/publisher_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion publisher/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<Authors>LeanCode</Authors>
<Company>LeanCode</Company>
<Copyright>Copyright 2023 LeanCode Sp. z o.o.</Copyright>
<PackageProjectUrl>https://github.com/leancodepl/leanpipe/publisher</PackageProjectUrl>
<PackageProjectUrl>https://github.com/leancodepl/leanpipe</PackageProjectUrl>
<RepositoryUrl>https://github.com/leancodepl/leanpipe</RepositoryUrl>
<RepositoryCommit Condition="'$(GITHUB_SHA)' != ''">$(GITHUB_SHA)</RepositoryCommit>

Expand Down