Skip to content

Commit d459c2a

Browse files
author
Reuven
committedJul 4, 2024·
get prev version
1 parent 58477ce commit d459c2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎.github/workflows/bc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@v4
2020

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

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

‎simple.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ paths:
88
tags:
99
- Test
1010
responses:
11-
"200":
11+
"201":
1212
description: Success
1313
/partner-api/test/another-method:
1414
get:

0 commit comments

Comments
 (0)
Please sign in to comment.