From 91ee8e66a24b159b25e5de48ea2948284b2e3a05 Mon Sep 17 00:00:00 2001 From: Devon R Date: Sun, 9 Feb 2020 03:48:58 +0900 Subject: [PATCH] Make git clone not shallow to show correct version in build --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dd95515..158f878 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,6 +11,10 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Make local clone not shallow + shell: bash + run: git fetch --prune --unshallow + - name: Get tag name id: get_head shell: bash