Skip to content

Commit 8b6872d

Browse files
committed
[MAINTENANCE] Add transaction workflow
1 parent d13be6d commit 8b6872d

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

.github/workflows/transaction.yml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Licensed under the Apache License, Version 2.0 (the "License");
2+
# you may not use this file except in compliance with the License.
3+
# You may obtain a copy of the License at
4+
#
5+
# http://www.apache.org/licenses/LICENSE-2.0
6+
#
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
13+
name: Transaction - CI Build
14+
15+
on:
16+
pull_request:
17+
paths:
18+
- transaction/**
19+
- .github/workflows/transaction.yml
20+
push:
21+
branches:
22+
- 'trunk'
23+
24+
env:
25+
LC_ALL: en_US.UTF-8
26+
27+
jobs:
28+
JDKxx_Matrix:
29+
strategy:
30+
matrix:
31+
java: [ 8 ]
32+
os: [ ubuntu-latest ]
33+
name: JDK${{ matrix.java }} ${{ matrix.os }}
34+
runs-on: ${{ matrix.os }}
35+
steps:
36+
- name: Git Checkout
37+
uses: actions/checkout@v4
38+
- name: Set up Java
39+
uses: actions/setup-java@v4
40+
with:
41+
distribution: 'temurin'
42+
java-version: ${{ matrix.java }}
43+
- name: Build
44+
shell: bash
45+
run: |
46+
mvn -U -e -B -ntp clean install -f transaction/pom.xml

transaction/transaction-itests/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
<groupId>org.apache.aries.transaction</groupId>
144144
<artifactId>org.apache.aries.transaction.blueprint</artifactId>
145145
<scope>test</scope>
146-
<version>2.3.0-SNAPSHOT</version>
146+
<version>2.3.2-SNAPSHOT</version>
147147
</dependency>
148148
<dependency>
149149
<groupId>org.apache.aries.transaction</groupId>

0 commit comments

Comments
 (0)