aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-12-06 17:00:27 -0500
committerJames McCoy <jamessan@jamessan.com>2020-12-06 21:01:11 -0500
commitb32124fce260f1132dcda7699905613bea2e888f (patch)
tree381f3d95c13a300f7b62b271375ac1f1284fb029
parent2b594b9c81fea02598e0f6b6dff7972677f2c150 (diff)
downloadrneovim-b32124fce260f1132dcda7699905613bea2e888f.tar.gz
rneovim-b32124fce260f1132dcda7699905613bea2e888f.tar.bz2
rneovim-b32124fce260f1132dcda7699905613bea2e888f.zip
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.
-rw-r--r--.github/workflows/release.yml6
1 files changed, 6 insertions, 0 deletions
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