We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 347c02b commit 63483e7Copy full SHA for 63483e7
.github/workflows/build.yml
@@ -29,7 +29,6 @@ jobs:
29
with:
30
repository: ruby/ruby
31
path: ruby
32
- fetch-depth: 0
33
- name: Set latest_commit
34
id: latest_commit
35
working-directory: ruby
@@ -38,7 +37,9 @@ jobs:
38
37
id: latest_commit_3_4_asan
39
40
run: |
41
- git checkout ruby_3_4
+ git fetch origin --no-tags '+refs/tags/v3_4_*:refs/tags/v3_4_*'
+ 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
44
- name: Check if latest commit already built
45
uses: actions/github-script@v7
0 commit comments