diff --git a/maven/await-artifact/README.md b/maven/await-artifact/README.md index 7ddf9549..c7f1366a 100644 --- a/maven/await-artifact/README.md +++ b/maven/await-artifact/README.md @@ -19,8 +19,8 @@ NOTE: this action does not timeout, hence you need to configure your GitHub work | `artifact-id` | Maven artifact-ID of the artifact | `true` | ` ` | | `group-id` | Maven group-ID of the artifact | `true` | ` ` | | `version` | Version of the artifact to wait for | `true` | ` ` | -| `wait-for-sonatype-central` | Whether to wait for the artifact to be available in the sonatype central repository. | `false` | `true` | -| `wait-for-maven-central` | Whether to wait for the artifact to be available in the maven central repository. | `false` | `false` | +| `sonatype-central` | Whether to wait for the artifact to be available in the sonatype central repository. | `false` | `true` | +| `maven-central` | Whether to wait for the artifact to be available in the maven central repository. | `false` | `false` | diff --git a/maven/await-artifact/action.yml b/maven/await-artifact/action.yml index 3338e970..dc9169cf 100644 --- a/maven/await-artifact/action.yml +++ b/maven/await-artifact/action.yml @@ -13,11 +13,11 @@ inputs: version: description: 'Version of the artifact to wait for' required: true - wait-for-sonatype-central: + sonatype-central: description: 'Whether to wait for the artifact to be available in the sonatype central repository.' default: true required: false - wait-for-maven-central: + maven-central: description: 'Whether to wait for the artifact to be available in the maven central repository.' default: false required: false @@ -25,7 +25,7 @@ runs: using: "composite" steps: - name: Wait for artifact to be available on proxy sonatype maven central - if: ${{ inputs.wait-for-sonatype-central == 'true' }} + if: ${{ inputs.sonatype-central == 'true' }} shell: bash run: | TIME=30 @@ -41,7 +41,7 @@ runs: VERSION: ${{ inputs.version }} - name: Wait for artifact to be available on maven central - if: ${{ inputs.wait-for-maven-central == 'true' }} + if: ${{ inputs.maven-central == 'true' }} shell: bash run: | TIME=30