We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63483e7 commit c6feac2Copy full SHA for c6feac2
.github/workflows/build.yml
@@ -37,7 +37,7 @@ jobs:
37
id: latest_commit_3_4_asan
38
working-directory: ruby
39
run: |
40
- git fetch origin --no-tags '+refs/tags/v3_4_*:refs/tags/v3_4_*'
+ git fetch origin --depth=1 --no-tags '+refs/tags/v3_4_*:refs/tags/v3_4_*'
41
LATEST_TAG=$(git tag --list | grep -E "v3_4_[0-9]+$" | sort -V | tail -n1)
42
git checkout "$LATEST_TAG"
43
echo "commit=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
0 commit comments