File tree Expand file tree Collapse file tree 6 files changed +36
-6
lines changed Expand file tree Collapse file tree 6 files changed +36
-6
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,16 @@ jobs:
1414 central-sync :
1515 runs-on : ubuntu-latest
1616 steps :
17+ - name : Remove system JDKs
18+ run : |
19+ sudo rm -rf /usr/lib/jvm/*
20+ unset JAVA_HOME
21+ export PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/usr/lib/jvm' | paste -sd:)
1722 - name : Checkout repository
1823 uses : actions/checkout@v5
1924 with :
2025 ref : v${{ github.event.inputs.release_version }}
21- - uses : gradle/actions/wrapper-validation@v4
26+ - uses : gradle/actions/wrapper-validation@v5
2227 - name : Set up JDK
2328 uses : actions/setup-java@v5
2429 with :
Original file line number Diff line number Diff line change 4242 DEVELOCITY_CACHE_USERNAME : ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }}
4343 DEVELOCITY_CACHE_PASSWORD : ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
4444 steps :
45+ - name : Remove system JDKs
46+ run : |
47+ sudo rm -rf /usr/lib/jvm/*
48+ unset JAVA_HOME
49+ export PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/usr/lib/jvm' | paste -sd:)
4550 - uses : actions/checkout@v5
4651 - name : Pre-Build Steps
4752 uses : micronaut-projects/github-actions/graalvm/pre-build@master
Original file line number Diff line number Diff line change 4444 DEVELOCITY_CACHE_USERNAME : ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }}
4545 DEVELOCITY_CACHE_PASSWORD : ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
4646 steps :
47+ - name : Remove system JDKs
48+ run : |
49+ sudo rm -rf /usr/lib/jvm/*
50+ unset JAVA_HOME
51+ export PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/usr/lib/jvm' | paste -sd:)
4752 - uses : actions/checkout@v5
4853 - name : Pre-Build Steps
4954 uses : micronaut-projects/github-actions/graalvm/pre-build@master
Original file line number Diff line number Diff line change 3434 OSS_INDEX_PASSWORD : ${{ secrets.OSS_INDEX_PASSWORD }}
3535 steps :
3636 # https://github.com/actions/virtual-environments/issues/709
37+ - name : Remove system JDKs
38+ run : |
39+ sudo rm -rf /usr/lib/jvm/*
40+ unset JAVA_HOME
41+ export PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/usr/lib/jvm' | paste -sd:)
3742 - name : " 🗑 Free disk space"
3843 run : |
3944 sudo rm -rf "/usr/local/share/boost"
5459 github-token : ${{ secrets.GITHUB_TOKEN }}
5560
5661 - name : " 🔧 Setup Gradle"
57- uses : gradle/actions/setup-gradle@v4
62+ uses : gradle/actions/setup-gradle@v5
5863
5964 - name : " ❓ Optional setup step"
6065 run : |
8691
8792 - name : " 📜 Upload binary compatibility check results"
8893 if : matrix.java == '21'
89- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
94+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
9095 with :
9196 name : binary-compatibility-reports
9297 path : " **/build/reports/binary-compatibility-*.html"
Original file line number Diff line number Diff line change 1010 if : github.repository != 'micronaut-projects/micronaut-project-template'
1111 runs-on : ubuntu-latest
1212 steps :
13+ - name : Remove system JDKs
14+ run : |
15+ sudo rm -rf /usr/lib/jvm/*
16+ unset JAVA_HOME
17+ export PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/usr/lib/jvm' | paste -sd:)
1318 - uses : actions/checkout@v5
1419 - uses : actions/cache@v4
1520 with :
Original file line number Diff line number Diff line change @@ -13,11 +13,16 @@ jobs:
1313 artifacts-sha256 : ${{ steps.hash.outputs.artifacts-sha256 }} # Computed hashes for build artifacts.
1414 runs-on : ubuntu-latest
1515 steps :
16+ - name : Remove system JDKs
17+ run : |
18+ sudo rm -rf /usr/lib/jvm/*
19+ unset JAVA_HOME
20+ export PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/usr/lib/jvm' | paste -sd:)
1621 - name : Checkout repository
1722 uses : actions/checkout@v5
1823 with :
1924 token : ${{ secrets.GH_TOKEN }}
20- - uses : gradle/actions/wrapper-validation@v4
25+ - uses : gradle/actions/wrapper-validation@v5
2126 - name : Set up JDK
2227 uses : actions/setup-java@v5
2328 with :
@@ -68,13 +73,13 @@ jobs:
6873 # Store the hash in a file, which is uploaded as a workflow artifact.
6974 sha256sum $ARTIFACTS | base64 -w0 > artifacts-sha256
7075 - name : Upload build artifacts
71- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
76+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7277 with :
7378 name : gradle-build-outputs
7479 path : build/repo/${{ steps.publish.outputs.group }}/*/${{ steps.publish.outputs.version }}/*
7580 retention-days : 5
7681 - name : Upload artifacts-sha256
77- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
82+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7883 with :
7984 name : artifacts-sha256
8085 path : artifacts-sha256
You can’t perform that action at this time.
0 commit comments