From 49dff3651216d0282b23d28c50b2045bcf8a0c25 Mon Sep 17 00:00:00 2001 From: Matthias Volk Date: Wed, 3 Mar 2021 22:51:43 +0100 Subject: [PATCH] Github Actions: clone complete history to support version extraction --- .github/workflows/buildtest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildtest.yml b/.github/workflows/buildtest.yml index bc34b202d..063eb868f 100644 --- a/.github/workflows/buildtest.yml +++ b/.github/workflows/buildtest.yml @@ -45,7 +45,7 @@ jobs: - name: Init Docker run: sudo docker run -d -it --name storm --privileged movesrwth/storm-basesystem:${{ matrix.distro }} - name: Git clone - run: sudo docker exec storm git clone --depth 1 --branch $STORM_BRANCH $STORM_GIT_URL /opt/storm + run: sudo docker exec storm git clone --branch $STORM_BRANCH $STORM_GIT_URL /opt/storm - name: Run cmake run: sudo docker exec storm bash -c "mkdir /opt/storm/build; cd /opt/storm/build; cmake .. ${CMAKE_ARGS}" - name: Build storm @@ -115,7 +115,7 @@ jobs: # Build & TEST & DEPLOY STORM ##### - name: Git clone - run: sudo docker exec storm git clone --depth 1 --branch $STORM_BRANCH $STORM_GIT_URL /opt/storm + run: sudo docker exec storm git clone --branch $STORM_BRANCH $STORM_GIT_URL /opt/storm - name: Run cmake run: sudo docker exec storm bash -c "mkdir /opt/storm/build; cd /opt/storm/build; cmake .. ${CMAKE_ARGS}" - name: Build storm