Skip to content

Create Github Release for OpenAPI Spec #4

Create Github Release for OpenAPI Spec

Create Github Release for OpenAPI Spec #4

name: Create Github Release for OpenAPI Spec
on:
workflow_dispatch:
jobs:
create-github-release:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node environment
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install semantic-release dependencies
run: npm ci
working-directory: ${{ github.workspace }}/.github/semantic-release
- name: Perform release
run: npx semantic-release
working-directory: ${{ github.workspace }}/.github/semantic-release
env:
GH_TOKEN: ${{ github.token }}