[github-actions] Make sure to fetch all tags on checkout
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0ca9354..20b316f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -14,6 +14,8 @@
       run: |
           echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV
     - uses: actions/checkout@v2
+      with:
+        fetch-depth: 0
     - name: autogen
       run: |
           export PYTHON=python3
@@ -48,6 +50,8 @@
           pip3 install cython
       shell: bash
     - uses: actions/checkout@v2
+      with:
+        fetch-depth: 0
     - name: autogen
       run: |
           SDKDIR=`xcrun --sdk macosx --show-sdk-path`
@@ -124,6 +128,8 @@
           echo "dest=$dest" >> $GITHUB_ENV
           echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV
     - uses: actions/checkout@v2
+      with:
+        fetch-depth: 0
     - name: autogen
       run: ./autogen.sh CC=gcc CXX=g++ --enable-debug
     - name: make