Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 8, 2025

The workflow broke after bumping s4u/setup-maven-action to v1.19.0 because it's a composite action that internally runs actions/setup-java, causing duplicate Java setup.

Changes:

  • Removed manual actions/setup-java@v5 step
  • Added java-distribution: microsoft parameter to s4u/setup-maven-action to preserve Microsoft OpenJDK

Before:

- name: Set up JDK 21
  uses: actions/setup-java@v5
  with:
    distribution: 'microsoft' 
    java-version: '21'
- name: Setup Maven Action
  uses: s4u/[email protected]
  with:
    java-version: 21
    maven-version: '3.9.6'

After:

- name: Setup Maven Action
  uses: s4u/[email protected]
  with:
    java-version: 21
    java-distribution: microsoft
    maven-version: '3.9.6'

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Remove redundant actions/setup-java step as s4u/[email protected] is a composite action that internally handles Java setup. Add java-distribution parameter to preserve Microsoft OpenJDK distribution.

Co-authored-by: clemensv <[email protected]>
Copy link
Contributor Author

Copilot AI commented Dec 8, 2025

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/clemensv/avrotize/commits/b72af31/check-runs
    • Triggering command: /usr/bin/curl curl -s -H Authorization: Bearer REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Update s4u/setup-maven-action to version 1.19.0 Remove duplicate Java setup conflicting with s4u/[email protected] Dec 8, 2025
Copilot AI requested a review from clemensv December 8, 2025 21:08
@clemensv clemensv marked this pull request as ready for review December 8, 2025 21:30
@clemensv clemensv merged commit 846dcb6 into dependabot/github_actions/s4u/setup-maven-action-1.19.0 Dec 8, 2025
@clemensv clemensv deleted the copilot/sub-pr-142 branch December 8, 2025 21:30
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