Skip to content

Commit

Permalink
get prev version
Browse files Browse the repository at this point in the history
  • Loading branch information
Reuven committed Jul 4, 2024
1 parent 58477ce commit d459c2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v4

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

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

Expand Down
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 d459c2a

Please sign in to comment.