File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ permissions:
77 contents : read
88
99env :
10- # for installation testing - it should match with version set in git
11- UMF_VERSION : 0.11.0
1210 BUILD_DIR : " ${{github.workspace}}/build"
1311 INSTL_DIR : " ${{github.workspace}}/../install-dir"
1412 COVERAGE_DIR : " ${{github.workspace}}/coverage"
@@ -150,6 +148,11 @@ jobs:
150148 - name : Set ptrace value for IPC test
151149 run : sudo bash -c "echo 0 > /proc/sys/kernel/yama/ptrace_scope"
152150
151+ - name : Extract version
152+ run : |
153+ VERSION=$(git describe --tags --abbrev=0 | grep -oP '\d+\.\d+\.\d+')
154+ echo "UMF_VERSION=$VERSION" >> $GITHUB_ENV
155+
153156 - name : Configure build
154157 run : >
155158 ${{ matrix.compiler.cxx == 'icpx' && '. /opt/intel/oneapi/setvars.sh &&' || ''}}
You can’t perform that action at this time.
0 commit comments