Skip to content

Commit 05acc76

Browse files
committed
add git workflow
1 parent 5ddfc2a commit 05acc76

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

.github/workflows/build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
name: Build
3+
4+
on: [push, pull_request]
5+
6+
jobs:
7+
build:
8+
9+
runs-on: ${{ matrix.os }}
10+
permissions:
11+
contents: read
12+
packages: write
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
java_version: [17]
17+
os: [ubuntu-latest]
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Set up Java
22+
uses: actions/setup-java@v2
23+
with:
24+
java-version: ${{ matrix.java_version }}
25+
distribution: 'adopt'
26+
- name: Maven cache
27+
uses: actions/cache@v2
28+
env:
29+
cache-name: maven-cache
30+
with:
31+
path:
32+
~/.m2
33+
key: build-${{ env.cache-name }}
34+
- name: Build with Maven
35+
run: mvn verify
36+

gson-adapter/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<groupId>io.avaje</groupId>
1111
<artifactId>avaje-http-client-gson</artifactId>
12-
<version>1.13</version>
12+
<version>1.13-SNAPSHOT</version>
1313

1414
<scm>
1515
<developerConnection>scm:git:git@github.com:avaje/avaje-http-client.git</developerConnection>
@@ -27,7 +27,7 @@
2727
<dependency>
2828
<groupId>io.avaje</groupId>
2929
<artifactId>avaje-http-client</artifactId>
30-
<version>1.13</version>
30+
<version>1.13-SNAPSHOT</version>
3131
<scope>provided</scope>
3232
</dependency>
3333

0 commit comments

Comments
 (0)