Skip to content

Commit

Permalink
Band-aid fix to actions/checkout#2041
Browse files Browse the repository at this point in the history
The Git version on Ubuntu runners was updated 2 hours ago causing all of our builds to fail
  • Loading branch information
Matyrobbrt authored Jan 23, 2025
1 parent 8494b8f commit 9bc179e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
with:
fetch-depth: 1000
fetch-tags: true
- name: Fetch tags # See https://github.com/actions/checkout/issues/2041
run: git fetch --tags

# Switch to a new branch with the PR number and PR branch name,
# for the projects where the buildscript uses the branch name
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ jobs:
fetch-depth: 1000
fetch-tags: true

- name: Fetch tags # See https://github.com/actions/checkout/issues/2041
run: git fetch --tags

- name: Make Gradle executable
# language=bash
run: chmod +x ./gradlew # Thanks Windows
Expand Down
6 changes: 2 additions & 4 deletions reactionable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,11 @@ repositories:
merge me now:
type: merge
method: SQUASH

neoforged/neoforge:
baseRunCommand: |
echo "JAVA_HOME=$(echo $JAVA_HOME_21_X64)" >> "$GITHUB_ENV"
./gradlew :neoforge:setup
runUploadPattern: |
src/
tests/src/
testframework/src/
backport:
preApplyGenCommands:
- ./gradlew :neoforge:setup
Expand Down Expand Up @@ -66,6 +63,7 @@ repositories:
type: keep-rebased
awaiting community agreement:
type: block

prActions:
repository: neoforged/practionrunner
workflow: run_pr.yml@main
Expand Down

0 comments on commit 9bc179e

Please sign in to comment.