File tree Expand file tree Collapse file tree 2 files changed +94
-0
lines changed Expand file tree Collapse file tree 2 files changed +94
-0
lines changed Original file line number Diff line number Diff line change 1+ #
2+ # Licensed to the Apache Software Foundation (ASF) under one or more
3+ # contributor license agreements. See the NOTICE file distributed with
4+ # this work for additional information regarding copyright ownership.
5+ # The ASF licenses this file to you under the Apache License, Version 2.0
6+ # (the "License"); you may not use this file except in compliance with
7+ # the License. You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+ #
17+
18+ name : graalvm-reusable-test
19+
20+ on :
21+ workflow_call :
22+ inputs :
23+ log4j-version :
24+ description : ' Log4j version'
25+ required : true
26+ type : string
27+
28+ permissions : read-all
29+
30+ jobs :
31+
32+ build :
33+
34+ runs-on : ubuntu-latest
35+
36+ steps :
37+
38+ - name : Checkout repository
39+ uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # 4.2.0
40+
41+ - name : Setup Java
42+ uses : actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # 4.4.0
43+ with :
44+ java-version : 17
45+
46+ - name : Setup Android SDK
47+ uses : android-actions/setup-android@00854ea68c109d98c75d956347303bf7c45b0277 # 3.2.1
48+
49+ - name : Build
50+ id : build
51+ shell : bash
52+ env :
53+ LOG4J_VERSION : ${{ inputs.log4j-version }}
54+ run : |
55+ log4j-samples-android/gradlew -p log4j-samples-gradlew \
56+ --console plain \
57+ -Plog4jVersion=$LOG4J_VERSION \
58+ build connectedCheck
Original file line number Diff line number Diff line change 1+ #
2+ # Licensed to the Apache Software Foundation (ASF) under one or more
3+ # contributor license agreements. See the NOTICE file distributed with
4+ # this work for additional information regarding copyright ownership.
5+ # The ASF licenses this file to you under the Apache License, Version 2.0
6+ # (the "License"); you may not use this file except in compliance with
7+ # the License. You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+ #
17+
18+ name : graalvm-test
19+
20+ on :
21+ workflow_dispatch :
22+ schedule :
23+ - cron : " 29 17 * * *"
24+
25+ permissions : read-all
26+
27+ jobs :
28+
29+ graalvm-test :
30+ strategy :
31+ fail-fast : false
32+ matrix :
33+ log4j-version : [ "2.25.0-SNAPSHOT" ]
34+ uses : apache/logging-log4j-samples/.github/workflows/android-reusable-test.yaml@main
35+ with :
36+ log4j-version : ${{ matrix.log4j-version }}
You can’t perform that action at this time.
0 commit comments