diff --git a/.github/workflows/release-clients.yml b/.github/workflows/release-clients.yml index 0f607a5368..3a31fde716 100644 --- a/.github/workflows/release-clients.yml +++ b/.github/workflows/release-clients.yml @@ -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' @@ -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 diff --git a/cloud-agent/client/generator/publish-clients.sh b/cloud-agent/client/generator/publish-clients.sh index 820e5aa3e2..d76fc5adea 100755 --- a/cloud-agent/client/generator/publish-clients.sh +++ b/cloud-agent/client/generator/publish-clients.sh @@ -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