-
-
Notifications
You must be signed in to change notification settings - Fork 2
58 lines (47 loc) · 1.37 KB
/
build-new-jdk.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Build - New JDK
on:
push:
branches:
- 'master'
- 'main'
tags:
- 'v*'
workflow_dispatch:
schedule:
- cron: '55 5 * * 5'
jobs:
build-21:
name: build 21
uses: s4u/.github/.github/workflows/maven-build.yml@master
with:
java-matrix: '["21"]'
java-dist-matrix: '["zulu", "temurin", "liberica", "microsoft", "corretto", "semeru"]'
secrets:
SIGN_KEY: ${{ secrets.SIGN_KEY }}
SIGN_KEY_PASS: ${{ secrets.SIGN_KEY_PASS }}
OSS_USER: ${{ secrets.OSS_USER }}
OSS_PASS: ${{ secrets.OSS_PASS }}
TECH_TOKEN: ${{ secrets.TECH_TOKEN }}
build-22:
needs: [ build-21 ]
name: build 22
uses: s4u/.github/.github/workflows/maven-build.yml@master
with:
java-matrix: '["22-ea"]'
java-dist-matrix: '["zulu", "temurin", "liberica", "microsoft", "corretto", "semeru"]'
secrets:
SIGN_KEY: ${{ secrets.SIGN_KEY }}
SIGN_KEY_PASS: ${{ secrets.SIGN_KEY_PASS }}
OSS_USER: ${{ secrets.OSS_USER }}
OSS_PASS: ${{ secrets.OSS_PASS }}
TECH_TOKEN: ${{ secrets.TECH_TOKEN }}
verify-ok:
name: OK
needs: [ build-21, build-22 ]
if: always()
runs-on: ubuntu-latest
steps:
- run: 'true'
if: needs.build.result == 'success'
- run: 'false'
if: needs.build.result != 'success'