Skip to content

Commit dd86444

Browse files
authored
Update build.yml
1 parent 8c125db commit dd86444

File tree

1 file changed

+34
-37
lines changed

1 file changed

+34
-37
lines changed

.github/workflows/build.yml

Lines changed: 34 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,46 +5,43 @@ on: workflow_dispatch
55

66
jobs:
77
build:
8-
98
runs-on: ubuntu-latest
10-
119
steps:
12-
- uses: actions/checkout@v4
13-
- name: set up JDK 17
14-
uses: actions/setup-java@v4
15-
with:
16-
java-version: '17'
17-
distribution: 'temurin'
18-
cache: gradle
19-
20-
- name: Install dependencies
21-
run: |
22-
cd test-app/build-tools/jsparser
23-
npm install
24-
25-
- name: Grant execute permission for gradlew
26-
run: chmod +x gradlew
27-
28-
- name: Build with V8
29-
run: ./gradlew -Pengine=V8
30-
31-
- name: Build with QUICKJS
32-
run: ./gradlew -Pengine=QUICKJS
33-
34-
- name: Build with JSC
35-
run: ./gradlew -Pengine=JSC
10+
- uses: actions/checkout@v4
11+
- name: set up JDK 17
12+
uses: actions/setup-java@v4
13+
with:
14+
java-version: '17'
15+
distribution: 'temurin'
16+
17+
- name: Install dependencies
18+
run: |
19+
cd test-app/build-tools/jsparser
20+
npm install
21+
22+
- name: Grant execute permission for gradlew
23+
run: chmod +x gradlew
24+
25+
- name: Build with V8
26+
run: ./gradlew -Pengine=V8
3627

37-
- name: Build with HERMES
38-
run: ./gradlew -Pengine=HERMES
28+
- name: Build with QUICKJS
29+
run: ./gradlew -Pengine=QUICKJS
3930

40-
- name: Upload artifacts
41-
- uses: actions/upload-artifact@v4
42-
with:
43-
name: release
44-
path: |
45-
./dist_v8
46-
./dist_jsc
47-
./dist_hermes
48-
./dist_quickjs
31+
- name: Build with JSC
32+
run: ./gradlew -Pengine=JSC
33+
34+
- name: Build with HERMES
35+
run: ./gradlew -Pengine=HERMES
36+
37+
- name: Upload artifacts
38+
- uses: actions/upload-artifact@v4
39+
with:
40+
name: release
41+
path: |
42+
./dist_v8
43+
./dist_jsc
44+
./dist_hermes
45+
./dist_quickjs
4946
5047

0 commit comments

Comments
 (0)