Skip to content

Commit faa015a

Browse files
committed
fix ci
1 parent bb7a09a commit faa015a

3 files changed

Lines changed: 22 additions & 16 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
name: ART Java Pull Request
2-
on: [ pull_request ]
2+
on: [pull_request]
33
jobs:
44
gradle-build:
55
strategy:
66
matrix:
7-
os: [ ubuntu-latest ]
8-
jdk: [ 21 ]
7+
os: [ubuntu-latest]
8+
jdk: [21]
99
runs-on: ${{ matrix.os }}
1010
steps:
1111
- uses: actions/checkout@v2
12+
- uses: tarantool/setup-tarantool@v4
13+
with:
14+
tarantool-version: "2.11"
15+
16+
- name: Setup temporary directory on Unix based
17+
run: echo "TMPDIR=${{ runner.temp }}" >> $GITHUB_ENV
1218
- uses: actions/setup-java@v1
1319
with:
1420
java-version: ${{ matrix.jdk }}

.github/workflows/push-branch.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,16 @@ jobs:
77
gradle-build:
88
strategy:
99
matrix:
10-
os: [ ubuntu-latest ]
11-
jdk: [ 21 ]
10+
os: [ubuntu-latest]
11+
jdk: [21]
1212
runs-on: ${{ matrix.os }}
1313
steps:
1414
- uses: actions/checkout@v2
15+
- uses: tarantool/setup-tarantool@v4
16+
with:
17+
tarantool-version: "2.11"
18+
- name: Setup temporary directory on Unix based
19+
run: echo "TMPDIR=${{ runner.temp }}" >> $GITHUB_ENV
1520
- uses: actions/setup-java@v1
1621
with:
1722
java-version: ${{ matrix.jdk }}

.github/workflows/push-main.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,29 @@ jobs:
77
gradle-build:
88
strategy:
99
matrix:
10-
os: [ ubuntu-latest ]
11-
jdk: [ 21 ]
10+
os: [ubuntu-latest]
11+
jdk: [21]
1212
runs-on: ${{ matrix.os }}
1313
steps:
1414
- uses: actions/checkout@v2
15-
16-
- uses: tarantool/setup-tarantool@v1
15+
- uses: tarantool/setup-tarantool@v4
1716
with:
18-
tarantool-version: '2.11'
19-
17+
tarantool-version: "2.11"
2018
- name: Setup temporary directory on Unix based
2119
run: echo "TMPDIR=${{ runner.temp }}" >> $GITHUB_ENV
22-
2320
- uses: actions/setup-java@v1
2421
with:
2522
java-version: ${{ matrix.jdk }}
26-
2723
- name: Grant execute permission for gradlew
2824
run: chmod +x gradlew
29-
3025
- name: Build with Gradle
3126
run: ./gradlew clean build --max-workers 8 --parallel
3227

3328
gradle-publish:
3429
strategy:
3530
matrix:
36-
os: [ ubuntu-latest ]
37-
jdk: [ 21 ]
31+
os: [ubuntu-latest]
32+
jdk: [21]
3833
runs-on: ${{ matrix.os }}
3934
steps:
4035
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)