Skip to content

Commit

Permalink
Create symlink for v2 spec (#20)
Browse files Browse the repository at this point in the history
Co-authored-by: Shreyaschorge <[email protected]>
  • Loading branch information
Shreyaschorge and Shreyaschorge authored Nov 23, 2023
1 parent 04eaa8f commit 368a912
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/rdme-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,20 @@ jobs:
- name: Check out repo πŸ“š
uses: actions/checkout@v3

# Setting the working directory for all steps to './src'
- name: Create symlink for v2 spec
run: ln -s $GITHUB_WORKSPACE/src/v2 $GITHUB_WORKSPACE/src/v2/recommendation/v2

- name: Run `openapi` command for v1 spec πŸš€
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./src
run: rdme openapi v1/spec.yaml --key=$README_API_KEY --id=65313d8d196216005b2ed13e
uses: readmeio/rdme@v8
with:
rdme: openapi src/v1/spec.yaml --key=${{ secrets.README_API_KEY }} --id=65313d8d196216005b2ed13e

- name: Run `openapi` command for v2 spec πŸš€
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./src
run: rdme openapi v2/spec.yaml --key=$README_API_KEY --id=653140896cad5a001321c86f
uses: readmeio/rdme@v8
with:
rdme: openapi src/v2/spec.yaml --key=${{ secrets.README_API_KEY }} --id=653140896cad5a001321c86f

- name: Run `openapi` command for v2 recommendation spec πŸš€
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
working-directory: ./src
run: rdme openapi v2/recommendation/spec.yaml --key=$README_API_KEY --id=6537721ac0ccd40031482643
uses: readmeio/rdme@v8
with:
rdme: openapi src/v2/recommendation/spec.yaml --key=${{ secrets.README_API_KEY }} --id=6537721ac0ccd40031482643

0 comments on commit 368a912

Please sign in to comment.