Skip to content

[ci] gh-actions: Update environment variables for setup-java 6.0.0 - #7025

Merged
adangel merged 1 commit into
pmd:mainfrom
UncleOwen:setup-java-new-environment-variables
Sep 3, 2026
Merged

adangel merged 1 commit into
pmd:mainfrom
UncleOwen:setup-java-new-environment-variables

Conversation

@UncleOwen

Copy link
Copy Markdown
Member

Describe the PR

The deploy-to-maven-central job has been showing new warnings since the update to setup-java 6.0.0

Warning: The 'server-username' input is deprecated and may be removed in a future release. Please use 'server-username-env-var' instead.
Warning: The 'server-password' input is deprecated and may be removed in a future release. Please use 'server-password-env-var' instead.
Warning: The 'gpg-passphrase' input is deprecated and may be removed in a future release. Please use 'gpg-passphrase-env-var' instead.

Relevant extract from the setup-java README:

Renamed environment-variable-name inputs so they are not mistaken for secret values:

  • server-username -> server-username-env-var
  • server-password -> server-password-env-var
  • gpg-passphrase -> gpg-passphrase-env-var

Deprecated aliases still work, but emit warnings.

This PR does the same renamings on our end.

Related issues

  • None

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

@pmd-actions-helper

Copy link
Copy Markdown
Contributor

Documentation Preview

No relevant source code has been changed, pmdtester skipped.

(comment created at 2026-09-02 13:13:32+00:00 for 689515b)

@adangel adangel added this to the 7.28.0 milestone Sep 3, 2026
@adangel adangel changed the title [chore] Update environment variables for setup-java 6.0.0 [ci] gh-actions: Update environment variables for setup-java 6.0.0 Sep 3, 2026
@adangel
adangel merged commit 64d01e8 into pmd:main Sep 3, 2026
12 checks passed
@UncleOwen
UncleOwen deleted the setup-java-new-environment-variables branch September 3, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants