Skip to content

Add github action

Add github action #1

name: Generate SDK - Main

Check failure on line 1 in .github/workflows/publish-releases.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-releases.yaml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: jobs
on:
workflow_dispatch:
jobs:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18.18.2
- name: Install dependencies
run: npm install
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
run: npx semantic-release