mirror of
https://github.com/s4u/setup-maven-action.git
synced 2026-02-18 00:00:11 +08:00
feat(settings): 🔐 Add settings-githubServer flag
This maps to the maven-settings-action 'githubServer' flag. closes #101
This commit is contained in:
committed by
Slawomir Jaranowski
parent
f4785d5b29
commit
68896192ef
@ -110,6 +110,11 @@ inputs:
|
||||
description: 'repository settings definition in json array, e.g.: [ { "id": "repoId","name": "repoName","url": "url","snapshots": { "enabled": true } } ]'
|
||||
required: false
|
||||
|
||||
settings-githubServer:
|
||||
description: 'add to settings.xml servers server-id: github; username=$GITHUB_ACTOR and password=$GITHUB_TOKEN'
|
||||
default: "true"
|
||||
required: false
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
|
||||
@ -160,3 +165,4 @@ runs:
|
||||
sonatypeSnapshots: '${{ inputs.settings-sonatypeSnapshots }}'
|
||||
proxies: '${{ inputs.settings-proxies }}'
|
||||
repositories: '${{ inputs.settings-repositories }}'
|
||||
githubServer: '${{ inputs.settings-githubServer }}'
|
||||
|
||||
Reference in New Issue
Block a user