mirror of
https://github.com/zealdocs/zeal.git
synced 2024-08-17 02:00:25 +03:00
ci(github): simplify app version retrieval
This commit is contained in:
parent
a099487aa6
commit
a89bed5648
5
.github/workflows/analyze-coverity.yml
vendored
5
.github/workflows/analyze-coverity.yml
vendored
@ -39,13 +39,12 @@ jobs:
|
||||
- name: Configure
|
||||
run: cmake -B build -G Ninja
|
||||
|
||||
- name: Retrieve Zeal Version
|
||||
- name: Retrieve Application Version
|
||||
run: |
|
||||
zeal_version=$(cmake --build build --target zeal_version | grep -oP '^Zeal version: \K.*$')
|
||||
zeal_version=$(<build/zeal_version)
|
||||
echo "Zeal Version: ${zeal_version}"
|
||||
echo "ZEAL_VERSION=${zeal_version}" >> $GITHUB_ENV
|
||||
|
||||
|
||||
- name: Coverity Scan
|
||||
uses: vapier/coverity-scan-action@v1
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user