Skip to content

Commit

Permalink
ci: publish-clients.sh ts package to ghcr
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shynbuiev <[email protected]>
  • Loading branch information
yshyn-iohk committed May 10, 2024
1 parent 3438438 commit 71d8d31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release-clients.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
tags:
- "identus-cloud-agent-v*"

permissions:
contents: read
packages: write

jobs:
publish-clients:
name: 'Build and publish Identus-cloud-Agent clients'
Expand All @@ -19,7 +23,7 @@ jobs:
VERSION_TAG: ${{inputs.releaseTag || github.ref_name}}
GITHUB_ACTOR: "hyperledger-bot"
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion cloud-agent/client/generator/publish-clients.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ AGENT_VERSION=${VERSION_TAG:13}
yarn

# kotlin
gradle -p ../kotlin -Pversion=${AGENT_VERSION} publish
# gradle -p ../kotlin -Pversion=${AGENT_VERSION} publish

# typescript
yarn --cwd ../typescript
Expand Down

0 comments on commit 71d8d31

Please sign in to comment.