Skip to content

Commit

Permalink
Remove conditional build logic to cp ge-extensions.xml
Browse files Browse the repository at this point in the history
With updates in Gradle Enterprise Maven Extension 1.17, the `publishIfAuthenticated` configuration will silently not publish a build scan if the user is not authenticated to https://ge.apache.org.
  • Loading branch information
clayburn committed Apr 26, 2023
1 parent 355cc1c commit 9689d1a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/actions/gradle-enterprise/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ runs:
- run: |
if [[ -n "${{ inputs.token }}" ]]; then
echo "::group::Configuring Gradle Enterprise for build"
cp .mvn/ge-extensions.xml .mvn/extensions.xml
echo "GRADLE_ENTERPRISE_ACCESS_KEY=${{ inputs.token }}" >> $GITHUB_ENV
echo "::endgroup::"
fi
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,3 @@ test-reports/

# Gradle Enterprise
.mvn/.gradle-enterprise/
.mvn/extensions.xml
File renamed without changes.

0 comments on commit 9689d1a

Please sign in to comment.