File tree 1 file changed +8
-11
lines changed
1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -13,20 +13,17 @@ jobs:
13
13
version : ${{ steps.get-release-info.outputs.version }}
14
14
versionTag : ${{ steps.get-release-info.outputs.versionTag }}
15
15
prBranch : ${{ steps.get-release-info.outputs.prBranch }}
16
- BASE : ${{ steps.branch.outputs.BASE }}
16
+ BASE : ${{ steps.get- branch.outputs.branch }}
17
17
steps :
18
18
- name : checkout source code
19
- uses : actions/checkout@v1
19
+ uses : actions/checkout@v3
20
+ with :
21
+ fetch-depth : 0
20
22
- name : extract branch
21
- id : branch
22
- run : |
23
- raw=$(git branch -r --contains ${{ github.ref }})
24
- branch=${raw/origin\/}
25
- echo "BASE=$branch" >> $GITHUB_OUTPUT
26
- echo "::debug::BASE is being set to $branch"
27
- echo "::group::DEBUG"
28
- echo "BASE is being set to $branch"
29
- echo "::endgroup::"
23
+ id : get-branch
24
+ uses : hyperledger/indy-shared-gha/.github/actions/branch-from-tag@v1
25
+ with :
26
+ tag : ${{ github.ref }}
30
27
- name : get-release-info
31
28
id : get-release-info
32
29
uses : hyperledger/indy-shared-gha/.github/actions/get-release-info@v1
You can’t perform that action at this time.
0 commit comments