Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitFicus committed Mar 23, 2024
1 parent bb7bb64 commit 6ece784
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/gh-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Izanami Java client
name: Release Izanami Java client (github)

on:
push:
Expand All @@ -17,8 +17,19 @@ jobs:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build & update version
run: mvn -B clean package --file pom.xml
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: GPG_PASSPHRASE
- name: Publish to Apache Maven Central
run: mvn deploy
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
# - name: Build & update version
# run: mvn -B clean package --file pom.xml
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Izanami Java client
name: Release Izanami Java client (maven)

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>fr.maif</groupId>
<artifactId>izanami-client</artifactId>
<version>2.0.6-SNAPSHOT</version>
<version>2.0.0-beta1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>${project.groupId}:${project.artifactId}</name>
<description>Java client for Izanami in version &gt; 2</description>
Expand Down

0 comments on commit 6ece784

Please sign in to comment.