mirror of
https://github.com/zealdocs/zeal.git
synced 2024-09-11 14:25:52 +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
|
- name: Configure
|
||||||
run: cmake -B build -G Ninja
|
run: cmake -B build -G Ninja
|
||||||
|
|
||||||
- name: Retrieve Zeal Version
|
- name: Retrieve Application Version
|
||||||
run: |
|
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}"
|
||||||
echo "ZEAL_VERSION=${zeal_version}" >> $GITHUB_ENV
|
echo "ZEAL_VERSION=${zeal_version}" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
|
||||||
- name: Coverity Scan
|
- name: Coverity Scan
|
||||||
uses: vapier/coverity-scan-action@v1
|
uses: vapier/coverity-scan-action@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user