File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2323 contents : write
2424 steps :
2525 - uses : actions/checkout@v4
26+ with :
27+ fetch-depth : 0 # do a full checkout instead of a shallow clone of HEAD so spotless's ratchetFrom works
2628 - name : Setup Build
2729 uses : ./.github/actions/build_setup
2830 - name : Get Mod Version
3133 - name : Version Suffix
3234 id : suffix
3335 run : echo "VERSION_SUFFIX=$(echo "${{ github.sha }}" | cut -c 1-7)" >> $GITHUB_ENV
34- - run : git fetch origin 1.20.1
3536 - name : Build
3637 run : ./gradlew build
3738 - name : Publish to Maven
Original file line number Diff line number Diff line change 2121 steps :
2222 - name : Checkout Repository
2323 uses : actions/checkout@v4
24+ with :
25+ fetch-depth : 0 # do a full checkout instead of a shallow clone of HEAD so spotless's ratchetFrom works
2426 - name : Check Path Filter
2527 uses : dorny/paths-filter@v3
2628 id : filter
2931 code:
3032 - 'src/main/java/**'
3133 - 'src/test/**'
32- - run : git fetch origin 1.20.1
33- if : steps.filter.outputs.code == 'true'
3434 - name : Setup Build
3535 if : steps.filter.outputs.code == 'true'
3636 uses : ./.github/actions/build_setup
You can’t perform that action at this time.
0 commit comments