mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 01:01:27 +00:00
github: Update the version of SCST for the Coverity action
This commit is contained in:
6
.github/workflows/coverity.yml
vendored
6
.github/workflows/coverity.yml
vendored
@@ -15,7 +15,11 @@ jobs:
|
||||
- name: Get version
|
||||
id: get_version
|
||||
run: |
|
||||
echo ::set-output name=version::"3.7-pre-$(git rev-parse --short HEAD)"
|
||||
version_without_revesion="$(sed -n 's/^\#define[[:blank:]]SCST_VERSION_NAME[[:blank:]]*\"\([^-]*\).*\"/\1/p' scst/include/scst_const.h)"
|
||||
revision="$(git rev-parse --short HEAD)"
|
||||
version="$version_without_revesion-$revision"
|
||||
|
||||
echo ::set-output name=version::"$version"
|
||||
|
||||
- name: Run Coverity Build
|
||||
uses: vapier/coverity-scan-action@v1
|
||||
|
||||
Reference in New Issue
Block a user