mirror of
https://github.com/s4u/setup-maven-action.git
synced 2026-02-12 00:05:30 +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
@ -85,6 +85,7 @@ So we can use for action:
|
|||||||
| settings-sonatypeSnapshots | sonatypeSnapshots |
|
| settings-sonatypeSnapshots | sonatypeSnapshots |
|
||||||
| settings-proxies | proxies |
|
| settings-proxies | proxies |
|
||||||
| settings-repositories | repositories |
|
| settings-repositories | repositories |
|
||||||
|
| settings-githubServer | githubServer |
|
||||||
|
|
||||||
# Testing against different Maven versions
|
# Testing against different Maven versions
|
||||||
|
|
||||||
|
|||||||
@ -110,6 +110,11 @@ inputs:
|
|||||||
description: 'repository settings definition in json array, e.g.: [ { "id": "repoId","name": "repoName","url": "url","snapshots": { "enabled": true } } ]'
|
description: 'repository settings definition in json array, e.g.: [ { "id": "repoId","name": "repoName","url": "url","snapshots": { "enabled": true } } ]'
|
||||||
required: false
|
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:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
|
|
||||||
@ -160,3 +165,4 @@ runs:
|
|||||||
sonatypeSnapshots: '${{ inputs.settings-sonatypeSnapshots }}'
|
sonatypeSnapshots: '${{ inputs.settings-sonatypeSnapshots }}'
|
||||||
proxies: '${{ inputs.settings-proxies }}'
|
proxies: '${{ inputs.settings-proxies }}'
|
||||||
repositories: '${{ inputs.settings-repositories }}'
|
repositories: '${{ inputs.settings-repositories }}'
|
||||||
|
githubServer: '${{ inputs.settings-githubServer }}'
|
||||||
|
|||||||
Reference in New Issue
Block a user