Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit 3172171

Browse files
committed
Remove MacOS "Contents/Home" work-around
Closes #19
1 parent 8a4c4ef commit 3172171

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

action.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,3 @@ runs:
2929
echo "::set-output name=file::JDK_ARCHIVE_NOT_DOWNLOADED_YET"
3030
echo "::set-output name=version::UNKNOWN_VERSION"
3131
"${JAVA_HOME_11_X64}/bin/java" "${{ github.action_path }}/java/DownloadJDK.java" ${{ inputs.feature }}
32-
- name: 'Repackage tarball on Mac OS'
33-
shell: bash
34-
run: |
35-
if [ "$RUNNER_OS" == "macOS" ]; then
36-
echo 'Repackage tarball on Mac OS'
37-
JDK_EXTRACTED=${HOME}/downloaded-jdk-${{ inputs.feature }}
38-
mkdir ${JDK_EXTRACTED}
39-
tar --extract --file ${JDK_FILE} -C ${JDK_EXTRACTED} --strip-components 4
40-
rm ${JDK_FILE}
41-
tar --create --file ${JDK_FILE} -C ${HOME} downloaded-jdk-${{ inputs.feature }}
42-
fi

0 commit comments

Comments
 (0)