OSDN Git Service

[actions] Explicitly fetch tags
[timidity41/timidity41.git] / .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