Skip to content

Commit 030d57c

Browse files
committed
Get version information from $GITHUB_REF.
This deactivates the usage of the bruce_adams/get-release-info action which was failing to get the release tag, in favour of getting release info from github environment variables.
1 parent 6c59fc8 commit 030d57c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/release-packages.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,11 @@ jobs:
217217
uses: actions/checkout@v2
218218
with:
219219
submodules: recursive
220-
- name: Get release info
221-
id: get_release_info
222-
uses: bruceadams/[email protected]
223220
- name: Set Image Tag
224221
run: |
225-
echo ${{ steps.get_release_info.outputs.tag_name }}
226-
VERSION = ${{ steps.get_release_info.outputs.tag_name }}
222+
echo ${{ github.ref }}
223+
echo $GITHUB_REF
224+
echo $GITHUB_REF | cut -d "/" -f 3 >> $VERSION
227225
arrVERSION=(${VERSION//-/ })
228226
echo "IMAGE_TAG=diffblue/cbmc:${arrVERSION[1]}" >> $GITHUB_ENV
229227
- name: Build docker image

0 commit comments

Comments
 (0)