summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 7489247..0de8091 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -118,7 +118,10 @@ jobs:
shell: bash
run: |
set -x
- git clone --depth=1 --no-checkout https://github.com/${{ github.repository }}
+ git init
+ git remote add origin https://github.com/${{ github.repository }}
+ git fetch fetch --tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/*:refs/remotes/origin/*
+
git sparse-checkout init
git sparse-checkout set '/*' '!/tests/'
pwd