Skip to content

Commit 8fb2a00

Browse files
ACS 9284 setup-java-build action doesn't setup maven setting correctly (#913)
1 parent 36b06dd commit 8fb2a00

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/actions/setup-java-build/action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ runs:
2626
- name: "Install ${{ inputs.maven-settings }}"
2727
shell: bash
2828
run: |
29-
mkdir -p $HOME/.m2
29+
mkdir -p ~/.m2
3030
if [ -f "${{ inputs.maven-settings }}" ]; then
3131
echo "Installing Maven settings file found in the repository: ${{ inputs.maven-settings }}"
32-
cp "${{ inputs.maven-settings }}" $HOME/.m2/settings.xml
32+
cp "${{ inputs.maven-settings }}" ~/.m2/settings.xml
3333
else
3434
echo "Maven settings file: ${{ inputs.maven-settings }} not found in the repository. Installing the default one"
35-
cp ${{ github.action_path }}/settings.xml $HOME/.m2/settings.xml
35+
cp ${{ github.action_path }}/settings.xml ~/.m2/settings.xml
3636
fi
3737
- name: "Set up Java"
3838
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0

version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v8.14.0
1+
v8.14.1

0 commit comments

Comments
 (0)