Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaiaeroastro committed Jun 3, 2024
1 parent b4634e9 commit a971508
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
- run: cat CMakeLists.txt
- name: Extract and set LIB3MF_VERSION
run: |
set -e # Exit immediately if a command exits with a non-zero status.
# Extract version components from CMakeLists.txt
LIB3MF_VERSION_MAJOR=$(grep -oP 'set\(LIB3MF_VERSION_MAJOR \K[0-9]+' CMakeLists.txt)
LIB3MF_VERSION_MINOR=$(grep -oP 'set\(LIB3MF_VERSION_MINOR \K[0-9]+' CMakeLists.txt)
Expand All @@ -35,6 +37,8 @@ jobs:
# Set the environment variable
echo "LIB3MF_VERSION=$LIB3MF_VERSION" >> $GITHUB_ENV
- name: Print GITHUB_ENV contents
run: cat $GITHUB_ENV

build-linux-memtest:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit a971508

Please sign in to comment.