Skip to content

Commit

Permalink
Merge branch 'master' into JUnit5LifecycleIntegrationTest
Browse files Browse the repository at this point in the history
  • Loading branch information
lprimak authored Jul 2, 2024
2 parents af59978 + df08821 commit 1580538
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .github/settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<settings>
<servers>

<server>
<id>jboss-snapshots-repository</id>
<username>${env.JBOSS_ACTOR}</username>
<password>${env.JBOSS_PASSWORD}</password>
</server>

</servers>
</settings>
17 changes: 14 additions & 3 deletions .github/workflows/maven-jboss-snapshot-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,19 @@
name: Maven JBoss Snapshot Package

on:
release:
types: [created]
workflow_dispatch:
inputs:
jboss_user:
description: 'JBoss Nexus Repo Username'
required: true
jboss_password:
description: 'JBoss Nexus Repo Password'
required: true


env:
JBOSS_ACTOR: ${{ github.event.inputs.jboss_user }}
JBOSS_PASSWORD: ${{ github.event.inputs.jboss_password }}

jobs:
build:
Expand All @@ -29,5 +40,5 @@ jobs:
run: mvn -B package --file pom.xml

- name: Publish to JBoss Nexus Maven Snapshot Repo
run: mvn deploy -Prelease
run: mvn -s .github/settings.xml deploy -Prelease

0 comments on commit 1580538

Please sign in to comment.