Skip to content

Adding Go samples and updating other examples #3

Adding Go samples and updating other examples

Adding Go samples and updating other examples #3

Workflow file for this run

name: Publish SDK
on:
push:
paths:
- 'spec.json'
- 'liblab.config.json'
workflow_dispatch:
jobs:
build-and-pr:
name: Generate SDKs and create PRs
runs-on: ubuntu-latest
env:
LIBLAB_TOKEN: ${{ secrets.LIBLAB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.LIBLAB_GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "18" # Specify the node version you want to use
- name: Install liblab
run: npm install -g liblab
- name: Start Build
run: liblab build --skip-validation --approve-docs
- name: Create PRs to GitHub repos
run: liblab pr