Skip to content

Commit 1a98b8b

Browse files
committed
project version fix attempt aws#1
1 parent c88d8f4 commit 1a98b8b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/novaquark-components.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ jobs:
1414
- name: Build Directory
1515
run: mkdir build
1616
- name: Create project files
17-
run: cmake .. -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/nq-aws-sdk-cpp -DBUILD_ONLY="aws-cpp-sdk-s3,aws-cpp-sdk-text-to-speech,aws-cpp-sdk-polly" -DVERSION=$(echo ${{ github.ref }} | cut -d'-' -f1 | sed 's/^v//')
17+
run: |
18+
export VERSION=$(echo ${{ github.ref }} | cut -d'/' -f3 | cut -d'-' -f1 | sed 's/^v//')
19+
cmake .. -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/nq-aws-sdk-cpp \
20+
-DBUILD_ONLY="aws-cpp-sdk-s3;aws-cpp-sdk-text-to-speech;aws-cpp-sdk-polly" \
21+
-DCMAKE_PROJECT_VERSION=${VERSION}
1822
working-directory: build
1923
- name: Build
2024
run: make

0 commit comments

Comments
 (0)