File tree Expand file tree Collapse file tree 3 files changed +20
-35
lines changed
Expand file tree Collapse file tree 3 files changed +20
-35
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - uses : actions/checkout@v4
12- - uses : gradle/actions/wrapper-validation@v3
12+ - uses : gradle/actions/wrapper-validation@v4
Original file line number Diff line number Diff line change 99 name : Publish
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v4
12+ - name : Checkout sources
13+ uses : actions/checkout@v4
1314 with :
1415 submodules : true
1516 - name : Fetch latest submodule updates
1617 run : git submodule update --remote
17- - uses : actions/setup-java@v4
18+ - name : Setup Java
19+ uses : actions/setup-java@v4
1820 with :
19- distribution : ' zulu'
20- java-version : |
21- 11
22- 17
23- - uses : actions/cache@v4
24- with :
25- path : |
26- ~/.gradle/caches
27- ~/.gradle/jdks
28- ~/.gradle/native
29- ~/.gradle/wrapper
30- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', 'gradle/**', 'gradle.properties') }}
31- restore-keys : |
32- ${{ runner.os }}-gradle-
21+ distribution : ' temurin'
22+ java-version : 17
23+ - name : Setup Gradle
24+ uses : gradle/actions/setup-gradle@v4
3325 - name : Setup publish token
3426 env :
3527 JETBRAINS_TOKEN : ${{ secrets.JETBRAINS_TOKEN }}
3931 echo "GRADLE_USER_HOME=$HOME/.gradle" >> "$GITHUB_ENV"
4032 echo "mcdev.deploy.token=${JETBRAINS_TOKEN}" > ~/.gradle/gradle.properties
4133 - name : Publish plugin
42- run : ./gradlew clean :publishPlugin --no-daemon -- stacktrace
34+ run : ./gradlew clean :publishPlugin --stacktrace
4335 - name : Get tag name
4436 id : get_tag
4537 shell : bash
Original file line number Diff line number Diff line change @@ -16,21 +16,14 @@ jobs:
1616 - ' windows-latest'
1717 runs-on : ${{ matrix.os }}
1818 steps :
19- - uses : actions/checkout@v4
20- - uses : actions/setup-java@v4
19+ - name : Checkout sources
20+ uses : actions/checkout@v4
21+ - name : Setup Java
22+ uses : actions/setup-java@v4
2123 with :
22- distribution : ' zulu'
23- java-version : |
24- 11
25- 17
26- - uses : actions/cache@v4
27- with :
28- path : |
29- ~/.gradle/caches
30- ~/.gradle/jdks
31- ~/.gradle/native
32- ~/.gradle/wrapper
33- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', 'gradle/**', 'gradle.properties') }}
34- restore-keys : |
35- ${{ runner.os }}-gradle-
36- - run : ./gradlew build --no-daemon --stacktrace
24+ distribution : ' temurin'
25+ java-version : 17
26+ - name : Setup Gradle
27+ uses : gradle/actions/setup-gradle@v4
28+ - name : Build
29+ run : ./gradlew build --stacktrace
You can’t perform that action at this time.
0 commit comments