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.
This commit is contained in:
James McCoy
2020-12-06 17:00:27 -05:00
parent 2b594b9c81
commit b32124fce2

View File

@@ -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