Skip to content

Commit 9bc179e

Browse files
authored
Band-aid fix to actions/checkout#2041
The Git version on Ubuntu runners was updated 2 hours ago causing all of our builds to fail
1 parent 8494b8f commit 9bc179e

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/build-prs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
with:
2929
fetch-depth: 1000
3030
fetch-tags: true
31+
- name: Fetch tags # See https://github.com/actions/checkout/issues/2041
32+
run: git fetch --tags
3133

3234
# Switch to a new branch with the PR number and PR branch name,
3335
# for the projects where the buildscript uses the branch name

.github/workflows/gradle-publish.yml

+3
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ jobs:
137137
fetch-depth: 1000
138138
fetch-tags: true
139139

140+
- name: Fetch tags # See https://github.com/actions/checkout/issues/2041
141+
run: git fetch --tags
142+
140143
- name: Make Gradle executable
141144
# language=bash
142145
run: chmod +x ./gradlew # Thanks Windows

reactionable.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,11 @@ repositories:
2929
merge me now:
3030
type: merge
3131
method: SQUASH
32+
3233
neoforged/neoforge:
3334
baseRunCommand: |
3435
echo "JAVA_HOME=$(echo $JAVA_HOME_21_X64)" >> "$GITHUB_ENV"
3536
./gradlew :neoforge:setup
36-
runUploadPattern: |
37-
src/
38-
tests/src/
39-
testframework/src/
4037
backport:
4138
preApplyGenCommands:
4239
- ./gradlew :neoforge:setup
@@ -66,6 +63,7 @@ repositories:
6663
type: keep-rebased
6764
awaiting community agreement:
6865
type: block
66+
6967
prActions:
7068
repository: neoforged/practionrunner
7169
workflow: run_pr.yml@main

0 commit comments

Comments
 (0)