Skip to content

Commit

Permalink
Update maven-jboss-snapshot-publish.yml
Browse files Browse the repository at this point in the history
Add JBOSS_ACTOR/JBOSS_PASSWORD env vars
  • Loading branch information
starksm64 authored Jul 2, 2024
1 parent 114717f commit daef48e
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/maven-jboss-snapshot-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,20 @@

name: Maven JBoss Snapshot Package

on: workflow_dispatch
on:
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 @@ -21,7 +34,7 @@ jobs:
java-version: '11'
distribution: 'temurin'
server-id: jboss-snapshots-repository # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
settings-path: ${{ github.workspace }}/.github/settings.xml # location for the settings.xml file

- name: Build with Maven
run: mvn -B package --file pom.xml
Expand Down

0 comments on commit daef48e

Please sign in to comment.