Skip to content

chore(release): cut Identus Cloud agent 1.33.1 release #44

chore(release): cut Identus Cloud agent 1.33.1 release

chore(release): cut Identus Cloud agent 1.33.1 release #44

Workflow file for this run

name: Publish Identus-cloud-agent clients
on:
workflow_dispatch:
inputs:
releaseTag:
description: "Tag to release clients (e.g. cloud-agent-v1.33.0)"
required: true
type: string
push:
tags:
- "cloud-agent-v*"
permissions:
contents: read
packages: write
jobs:
publish-clients:
name: "Build and publish Identus Cloud Agent clients"
runs-on: ubuntu-latest
env:
VERSION_TAG: ${{inputs.releaseTag || github.ref_name}}
GITHUB_ACTOR: "hyperledger-bot"
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
registry-url: https://npm.pkg.github.com/
scope: "@hyperledger"
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Setup Gradle
uses: gradle/[email protected]
- name: Login to Github Hub
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ env.GITHUB_ACTOR }}
password: ${{ env.GITHUB_TOKEN }}
- name: Setup yq - portable yaml processor
uses: mikefarah/[email protected]
- name: Install generator dependencies
working-directory: cloud-agent/client/generator
run: yarn install
- name: Generate clients
working-directory: cloud-agent/client/generator
run: yarn generate:all
- name: Publish clients
working-directory: cloud-agent/client/generator
run: yarn publish:clients