@@ -39,26 +39,33 @@ jobs:
3939 runs-on : ubuntu-latest
4040
4141 steps :
42- - uses : actions/checkout@v4.2.2
42+ - uses : actions/checkout@v6.0.0
4343 with :
4444 fetch-tags : true
4545 fetch-depth : 0
4646
4747 - name : Set up JDK 21
48- uses : actions/setup-java@v4.7.1
48+ uses : actions/setup-java@v5.0.0
4949 with :
5050 java-version : ' 21'
5151 distribution : ' temurin'
5252
53+ - name : Setup Gradle
54+ uses : gradle/actions/setup-gradle@v5
55+
5356 - name : Get branch name
5457 id : branch-names
55- uses : tj-actions/branch-names@v9
58+ uses : tj-actions/branch-names@v9.0.2
5659
5760 - name : Fix Gradle permission
5861 run : chmod +x ./gradlew
62+
63+ - name : Dry run
64+ run : ./gradlew -Prun_number=${{ github.run_number }}
5965
6066 - name : Setup Forge env
6167 run : ./gradlew setup -Prun_number=${{ github.run_number }}
68+
6269 - name : Stop Gradle daemon
6370 run : ./gradlew --stop
6471
6976 run : echo "CLEANROOM_VERSION=$(cat version.txt)" >> $GITHUB_ENV
7077
7178 - name : setup python
72- uses : actions/setup-python@v5.6 .0
79+ uses : actions/setup-python@v6.1 .0
7380 with :
7481 python-version : ' 3.13'
7582
@@ -85,19 +92,19 @@ jobs:
8592 run : cp script/MMC-Builder/build/CleanroomMMC.zip ./projects/cleanroom/build/libs/Cleanroom-MMC-instance-${{ env.CLEANROOM_VERSION }}.zip
8693
8794 - name : Upload Universal Jar
88- uses : actions/upload-artifact@v4.6.2
95+ uses : actions/upload-artifact@v5.0.0
8996 with :
9097 name : universal-jar-${{ env.CLEANROOM_VERSION }}
9198 path : projects/cleanroom/build/libs/*-universal.jar
9299
93100 - name : Upload Installer Jar
94- uses : actions/upload-artifact@v4.6.2
101+ uses : actions/upload-artifact@v5.0.0
95102 with :
96103 name : installer-jar-${{ env.CLEANROOM_VERSION }}
97104 path : projects/cleanroom/build/libs/*-installer.jar
98105
99106 - name : Upload MMC pack zip
100- uses : actions/upload-artifact@v4.6.2
107+ uses : actions/upload-artifact@v5.0.0
101108 with :
102109 name : mmc-pack-zip-${{ env.CLEANROOM_VERSION }}
103110 path : projects/cleanroom/build/libs/*.zip
0 commit comments