Skip to content

Commit b24591c

Browse files
committed
v1.0.2 Maven package
1 parent 54a3e58 commit b24591c

File tree

7 files changed

+21
-6
lines changed

7 files changed

+21
-6
lines changed

.github/workflows/maven.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515

1616
permissions:
1717
contents: write
18+
packages: write
1819

1920
jobs:
2021
build:
@@ -27,10 +28,16 @@ jobs:
2728
with:
2829
java-version: "17"
2930
distribution: "temurin"
31+
server-id: github
3032
cache: maven
3133
- name: Build with Maven
3234
run: mvn -B package --file pom.xml
3335

36+
- name: Publish to GitHub Packages
37+
run: mvn deploy -DskipTests
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
3441
- name: Create Release
3542
uses: softprops/action-gh-release@v2
3643
with:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Add the following dependency to your `pom.xml`:
2525
<dependency>
2626
<groupId>com.appxiom.ax.tuple</groupId>
2727
<artifactId>ax-tuple</artifactId>
28-
<version>1.0.1</version>
28+
<version>1.0.2</version>
2929
</dependency>
3030
```
3131

pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,15 @@
66

77
<groupId>com.appxiom.ax.tuple</groupId>
88
<artifactId>ax-tuple</artifactId>
9-
<version>1.0.1</version>
9+
<version>1.0.2</version>
10+
11+
<distributionManagement>
12+
<repository>
13+
<id>github</id>
14+
<name>GitHub Packages</name>
15+
<url>https://maven.pkg.github.com/basilgregory/ax-tuple-java</url>
16+
</repository>
17+
</distributionManagement>
1018

1119
<properties>
1220
<maven.compiler.source>17</maven.compiler.source>

src/main/java/com/appxiom/ax/tuple/NamedTuple.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* A named tuple implementation for Java that stores elements as key-value pairs using a Map.
33
*
44
* @author Robin Panicker
5-
* @version 1.0.1
5+
* @version 1.0.2
66
* @since 0.1.0
77
*
88
*/

src/main/java/com/appxiom/ax/tuple/Tuple.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* A simple immutable Tuple implementation for Java that can hold an arbitrary number of elements.
33
*
44
* @author Robin Panicker
5-
* @version 1.0.1
5+
* @version 1.0.2
66
* @since 0.1.0
77
*/
88
package com.appxiom.ax.tuple;

src/test/java/com/appxiom/ax/tuple/test/NamedTupleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* Unit tests for the NamedTuple class.
1313
*
14-
* @version 1.0.1
14+
* @version 1.0.2
1515
* @since 0.1.0
1616
*/
1717
public class NamedTupleTest {

src/test/java/com/appxiom/ax/tuple/test/TupleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* Unit tests for the Tuple class.
1313
*
14-
* @version 1.0.1
14+
* @version 1.0.2
1515
* @since 0.1.0
1616
*/
1717
public class TupleTest {

0 commit comments

Comments
 (0)