Skip to content

Commit

Permalink
test deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fugerit79 committed Feb 11, 2024
1 parent ec7ff15 commit c6cb013
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy_maven_package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# CI deploy maven package
#
# version 1.0.0
#
# see : https://universe.fugerit.org/src/docs/conventions/workflows/deploy_maven_package.html

name: CI deploy maven package

on:
push:
branches:
- branch-deploy

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@main
- name: Set up JDK 17
uses: actions/setup-java@main
with:
java-version: '17'
distribution: 'corretto'
cache: maven
- name: Release Maven package
uses: samuelmeuli/action-maven-publish@master
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg_passphrase: ${{ secrets.PASSPHRASE }}
nexus_username: ${{ secrets.OSS_USERNAME }}
nexus_password: ${{ secrets.OSS_PASSWORD }}
maven_args: -P doRelease
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-bom</artifactId>
<version>1.4.6</version>
<version>1.6.0</version>
<relativePath></relativePath>
</parent>

<groupId>org.fugerit.java.labs</groupId>
<artifactId>fj-release-lab</artifactId>
<packaging>jar</packaging>
<version>0.3.0-SNAPSHOT</version>
<version>0.3.1-rc.1</version>

<name>fj-release-lab</name>
<description>Simple project to test release capabilities</description>
Expand Down

0 comments on commit c6cb013

Please sign in to comment.