chore(release): cut open enterprise agent 1.30.1 release #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish prism-agent clients | |
on: | |
push: | |
tags: | |
- "prism-agent-v*" | |
jobs: | |
publish-clients: | |
name: 'Build and publish Prism-Agent clients' | |
runs-on: ubuntu-latest | |
env: | |
VERSION_TAG: ${{github.ref_name}} | |
ATALA_GITHUB_ACTOR: ${{secrets.ATALA_GITHUB_ACTOR}} | |
ATALA_GITHUB_TOKEN: ${{secrets.ATALA_GITHUB_TOKEN}} | |
NODE_AUTH_TOKEN: ${{ secrets.ATALA_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-labs" | |
- 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: ${{ secrets.ATALA_GITHUB_ACTOR }} | |
password: ${{ secrets.ATALA_GITHUB_TOKEN }} | |
- name: Setup yq - portable yaml processor | |
uses: mikefarah/[email protected] | |
- name: Install generator dependencies | |
working-directory: prism-agent/client/generator | |
run: yarn install | |
- name: Generate clients | |
working-directory: prism-agent/client/generator | |
run: yarn generate:all | |
- name: Publish clients | |
working-directory: prism-agent/client/generator | |
run: yarn publish:clients |