Skip to content

Commit c30ef2e

Browse files
committed
chore: disable gradle action for ea build
1 parent 91c8f08 commit c30ef2e

File tree

4 files changed

+24
-15
lines changed

4 files changed

+24
-15
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,24 +71,35 @@ jobs:
7171
with:
7272
fetch-depth: 0
7373

74-
- name: ☕ Install OpenJDK ${{ matrix.jdk }} latest build from ☁️jdk.java.net
75-
id: setup-java
74+
- name: ⬇️ Download OpenJDK ${{ matrix.jdk }} latest build from ☁️jdk.java.net
75+
id: download-jdk
7676
uses: oracle-actions/setup-java@main
7777
with:
7878
website: jdk.java.net
7979
release: ${{ matrix.jdk }}
80+
version: latest
81+
install: false
82+
83+
- name: ☕ Set up OpenJDK ${{ matrix.jdk }}
84+
id: setup-java
85+
uses: actions/setup-java@v4
86+
if: always() && steps.download-jdk.outcome == 'success'
87+
with:
88+
distribution: jdkfile
89+
java-version: ${{ steps.download-jdk.outputs.version }}
90+
jdkFile: ${{ steps.download-jdk.outputs.archive }}
91+
cache: 'gradle'
8092

8193
- name: 🐘 Setup Gradle
94+
if: ${{ false }}
8295
uses: gradle/actions/setup-gradle@v4
8396

8497
- name: 🏗️ Gradle Build & Run
8598
id: gradle-build
8699
run: |
87-
java --version
88-
MKTEMP_PATH="$(dirname "$(mktemp -u)")/"
89-
echo "MKTEMP_PATH=$MKTEMP_PATH" >> $GITHUB_ENV
90100
./gradlew buildAndPublish --no-daemon
91-
# echo "dist_path=backend/jvm/build/libs/jvm-all.jar" >> "$GITHUB_OUTPUT"
101+
# echo "dist_path=../jvm-all.jar" >> "$GITHUB_OUTPUT"
102+
# echo "NAME=VAL" >> $GITHUB_ENV
92103
env:
93104
GITHUB_USER: ${{ github.repository_owner }}
94105
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -157,7 +168,6 @@ jobs:
157168
path: |
158169
hs_err*
159170
${{ github.workspace }}/hs_err*
160-
${{ env.MKTEMP_PATH }}/*hs-err*
161171
if-no-files-found: warn
162172
retention-days: 30
163173

.github/workflows/dependabot-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Dependabot auto-approve
1+
name: Dependabot Auto Approve
22

33
on: pull_request_target
44

.github/workflows/jextract.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: jextract
1+
name: Build-Jextract
22

33
on:
4-
push:
5-
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
4+
# push:
5+
# branches: [ main ]
6+
# pull_request:
7+
# branches: [ main ]
88
workflow_dispatch:
99

1010
defaults:
@@ -53,7 +53,6 @@ jobs:
5353
version: latest
5454
install: true
5555

56-
5756
- name: 🏃Run jextract on ${{ matrix.os }}
5857
run: |
5958
java -version

.github/workflows/sync-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Sync labels
1+
name: Sync Labels
22

33
on:
44
push:

0 commit comments

Comments
 (0)