From b32124fce260f1132dcda7699905613bea2e888f Mon Sep 17 00:00:00 2001 From: James McCoy Date: Sun, 6 Dec 2020 17:00:27 -0500 Subject: [PATCH] GHA: Perform a full checkout for release workflow This is needed to get a tag-based version from `git describe` rather than just the commit. --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 610d62211a..2acd615da1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,8 @@ jobs: release: ${{ steps.build.outputs.release }} steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Install dependencies run: | sudo apt-get update @@ -44,6 +46,8 @@ jobs: runs-on: ubuntu-16.04 steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Install dependencies run: | sudo apt-get update @@ -67,6 +71,8 @@ jobs: runs-on: macos-10.15 steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Install brew packages run: | brew update >/dev/null