OSDN Git Service

[actions] Explicitly fetch tags
authorStarg <starg@users.osdn.me>
Sun, 25 Sep 2022 05:45:39 +0000 (14:45 +0900)
committerStarg <starg@users.osdn.me>
Sun, 25 Sep 2022 05:45:39 +0000 (14:45 +0900)
.github/workflows/build.yml

index c179cbc..9365fb1 100644 (file)
@@ -36,6 +36,11 @@ jobs:
           path: timidity41
           fetch-depth: 0
 
+      - name: Fetch tags
+        run: git fetch --tags --force
+        shell: bash
+        working-directory: timidity41
+
       - name: Run "git describe"
         run: echo "TIM41_DESCRIBE=$(git describe --first-parent)" >> $GITHUB_ENV
         shell: bash