File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 with :
4242 python-version : " 3.12"
4343
44- - name : Set up Java 21
45- uses : actions/setup-java@v5
46- with :
47- java-version : " 21"
48- distribution : " microsoft"
49-
50- - name : Grant execute permission for gradlew
51- run : chmod +x gradlew
52-
53- - name : Setup Gradle
54- uses : gradle/actions/setup-gradle@v5
55- with :
56- build-scan-publish : true
57- build-scan-terms-of-use-url : " https://gradle.com/help/legal-terms-of-use"
58- build-scan-terms-of-use-agree : " yes"
59- cache-encryption-key : ${{ secrets.GRADLE_ENCRYPTION_KEY }}
60- cache-read-only : ${{ github.ref != 'refs/heads/master' && !startsWith(github.ref, 'refs/heads/1.') }}
61-
62- - name : Migrate mappings
63- run : |
64- ./gradlew migrateMappings --mappings "net.minecraft:mappings:${{ inputs.mc_version }}" --overrideInputsIHaveABackup
65- ./gradlew migrateGametestMappings --mappings "net.minecraft:mappings:${{ inputs.mc_version }}" --overrideInputsIHaveABackup
66- ./gradlew migrateClassTweakerMappings --mappings "net.minecraft:mappings:${{ inputs.mc_version }}" --overrideInputsIHaveABackup
67-
6844 - name : Update version constants
6945 run : |
7046 python scripts/update_version_constants.py \
7349 "${{ inputs.fapi_version }}" \
7450 "${{ inputs.cf_game_version }}"
7551
76- # To fix any style issues that the migration scripts might cause
77- - name : Run spotlessApply task
78- run : ./gradlew spotlessApply
79-
8052 - name : Commit and push changes
8153 run : |
8254 git config --global user.name "Wurst-Bot"
You can’t perform that action at this time.
0 commit comments