Skip to content

Commit 528dad3

Browse files
committed
Update to LMDB 0.9.24 snapshot for testing (lmdbjava#148)
1 parent 43f101d commit 528dad3

2 files changed

Lines changed: 19 additions & 7 deletions

File tree

.github/workflows/maven.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,16 @@ jobs:
2020
with:
2121
java-version: 11
2222

23+
- name: Add OSSRH to the snapshot repositories list
24+
uses: s4u/maven-settings-action@v2.1.0
25+
with:
26+
sonatypeSnapshots: true
27+
2328
- name: Cache Maven packages
2429
uses: actions/cache@v1
2530
with:
2631
path: ~/.m2
2732
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
28-
restore-keys: ${{ runner.os }}-m2
2933

3034
- name: Build with Maven
3135
run: mvn -B verify
@@ -51,12 +55,16 @@ jobs:
5155
with:
5256
java-version: ${{ matrix.java }}
5357

58+
- name: Add OSSRH to the snapshot repositories list
59+
uses: s4u/maven-settings-action@v2.1.0
60+
with:
61+
sonatypeSnapshots: true
62+
5463
- name: Cache Maven packages
5564
uses: actions/cache@v1
5665
with:
5766
path: ~/.m2
5867
key: ${{ runner.os }}-${{ matrix.java }}-m2-${{ hashFiles('**/pom.xml') }}
59-
restore-keys: ${{ runner.os }}-${{ matrix.java }}-m2
6068

6169
- name: Test with Maven
6270
run: mvn -B test
@@ -83,12 +91,16 @@ jobs:
8391
with:
8492
java-version: 11
8593

94+
- name: Add OSSRH to the snapshot repositories list
95+
uses: s4u/maven-settings-action@v2.1.0
96+
with:
97+
sonatypeSnapshots: true
98+
8699
- name: Cache Maven packages
87100
uses: actions/cache@v1
88101
with:
89102
path: ~/.m2
90103
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
91-
restore-keys: ${{ runner.os }}-m2
92104

93105
- name: Publish Maven package
94106
uses: samuelmeuli/action-maven-publish@v1

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</parent>
99
<groupId>org.lmdbjava</groupId>
1010
<artifactId>lmdbjava</artifactId>
11-
<version>0.7.1-SNAPSHOT</version>
11+
<version>0.8.0-SNAPSHOT</version>
1212
<packaging>jar</packaging>
1313
<name>LmdbJava</name>
1414
<description>Low latency Java API for the ultra-fast, embedded Symas Lightning Database (LMDB)</description>
@@ -135,19 +135,19 @@
135135
<dependency>
136136
<groupId>org.lmdbjava</groupId>
137137
<artifactId>lmdbjava-native-linux-x86_64</artifactId>
138-
<version>0.9.23-1</version>
138+
<version>0.9.24-1-SNAPSHOT</version>
139139
<optional>true</optional>
140140
</dependency>
141141
<dependency>
142142
<groupId>org.lmdbjava</groupId>
143143
<artifactId>lmdbjava-native-windows-x86_64</artifactId>
144-
<version>0.9.23-1</version>
144+
<version>0.9.24-1-SNAPSHOT</version>
145145
<optional>true</optional>
146146
</dependency>
147147
<dependency>
148148
<groupId>org.lmdbjava</groupId>
149149
<artifactId>lmdbjava-native-osx-x86_64</artifactId>
150-
<version>0.9.23-1</version>
150+
<version>0.9.24-1-SNAPSHOT</version>
151151
<optional>true</optional>
152152
</dependency>
153153
<dependency>

0 commit comments

Comments
 (0)