Update build-dereferenced-v3-spec.yml

This commit is contained in:
Jordan Violet
2022-10-03 16:14:48 -05:00
committed by GitHub
parent f4a22abdb7
commit ecbd0ed478

View File

@@ -11,27 +11,18 @@ on:
jobs:
dereference_spec:
name: Push API spec changes
runs-on: ubuntu-latest
steps:
# Checkout the master branch request to run rsync
- name: Checkout PR branch
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
# Node is required for npm
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: "16"
- name: Install swagger-cli
run: |
npm install -g swagger-cli
- name: Dereference API Specification
run: |
swagger-cli bundle --dereference idn/sailpoint-api.v3.yaml -t yaml -o dereferenced/idn-v3-spec.yaml
- uses: stefanzweifel/git-auto-commit-action@v4