Skip to content

Added index tests and fixed /index/_dangling. (#391) #103

Added index tests and fixed /index/_dangling. (#391)

Added index tests and fixed /index/_dangling. (#391) #103

Workflow file for this run

name: Build and Publish Spec
on:
push:
branches:
- main
jobs:
build:
name: Build and Publish
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Build
run: npm install && npm run merge
- name: Extract Branch Name
id: branch
shell: bash
run: echo "name=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
- name: Release Specification to GitHub
uses: marvinpinto/[email protected]
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{ steps.branch.outputs.name }}-latest
prerelease: true
title: OpenSearch OpenAPI Spec (${{ steps.branch.outputs.name }})
files: |
LICENSE.txt
build/*