File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 34
34
MAJOR_VERSION : ${{ steps.get-version-and-commit-sha.outputs.MAJOR_VERSION }}
35
35
MINOR_VERSION : ${{ steps.get-version-and-commit-sha.outputs.MINOR_VERSION }}
36
36
PATCH_VERSION : ${{ steps.get-version-and-commit-sha.outputs.PATCH_VERSION }}
37
+ VERSION_TAG : ${{ steps.get-version-and-commit-sha.outputs.VERSION_TAG }}
37
38
COMMIT_SHA : ${{ steps.get-version-and-commit-sha.outputs.COMMIT_SHA }}
38
39
steps :
39
40
- name : Checkout
82
83
echo "PATCH_VERSION=$patch_version" >> $GITHUB_OUTPUT
83
84
short_version="$major_version.$minor_version"
84
85
echo "SHORT_VERSION=$short_version" >> $GITHUB_OUTPUT
86
+ echo "VERSION_TAG=$latest_tag" >> $GITHUB_OUTPUT
85
87
commit_sha=$(git rev-list -n 1 $latest_tag)
86
88
echo "COMMIT_SHA=$commit_sha" >> $GITHUB_OUTPUT
87
89
- name : Show version
91
93
echo MAJOR_VERSION: ${{ steps.get-version-and-commit-sha.outputs.MAJOR_VERSION }}
92
94
echo MINOR_VERSION: ${{ steps.get-version-and-commit-sha.outputs.MINOR_VERSION }}
93
95
echo PATCH_VERSION: ${{ steps.get-version-and-commit-sha.outputs.PATCH_VERSION }}
96
+ echo VERSION_TAG: ${{ steps.get-version-and-commit-sha.outputs.VERSION_TAG }}
94
97
echo COMMIT_SHA: ${{ steps.get-version-and-commit-sha.outputs.COMMIT_SHA }}
95
98
96
99
build :
@@ -101,7 +104,8 @@ jobs:
101
104
steps :
102
105
- uses : actions/checkout@v4
103
106
with :
104
- ref : ${{ needs.bump.outputs.COMMIT_SHA }}
107
+ ref : ${{ needs.bump.outputs.VERSION_TAG }}
108
+ ssh-key : ${{ secrets.AIBSGITHUB_PRIVATE_KEY }}
105
109
- name : Set up Python ${{ github.event.inputs.python-version }}
106
110
uses : actions/setup-python@v4
107
111
with :
You can’t perform that action at this time.
0 commit comments