Skip to content

Commit

Permalink
debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
Reuven committed Jul 4, 2024
1 parent 6704f0f commit 91eae17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/bc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ jobs:

- name: Get prev commit
run: echo "PREV_COMMIT=$(git --no-pager log -n1 | grep commit | cut -d' ' -f2)" >> $GITHUB_ENV

- run: echo PREV_COMMIT=${{ env.PREV_COMMIT }}

- name: Get prev file
run: echo "PREV_FILE=$(https://raw.githubusercontent.com/reuvenharrison/oas/${{ env.PREV_COMMIT }}/simple.yaml)" >> $GITHUB_ENV

- run: echo PREV_FILE=${{ env.PREV_FILE }}

- name: Run diff
run: docker run --rm -t -v $(pwd)/:/data:ro tufin/oasdiff changelog ${{ env.PREV_FILE }} /data/simple.yaml -f githubactions

2 changes: 1 addition & 1 deletion simple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ paths:
tags:
- Test
responses:
"200":
"201":
description: Success
/partner-api/test/another-method:
get:
Expand Down

0 comments on commit 91eae17

Please sign in to comment.