-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It used to be that with GitHub actions/setup-java@v1 we could Ant installed but use jenv to use our "own" openjdk to run it. Something changed, debugging the GitHub CI via multiple pull requests is tedious, so just try to use GitHub for any dependencies beyond bash.
- Loading branch information
Showing
2 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
|
||
tmpdir=/tmp | ||
pushd "${tmpdir}" | ||
ant_base=apache-ant-1.10.14 | ||
wget https://www-eu.apache.org/dist/ant/binaries/${ant_base}-bin.zip | ||
unzip ${tmpdir}/${ant_base}-bin.zip | ||
popd | ||
|
||
install_dir="$HOME/.local/share/java" | ||
mkdir -p "${install_dir}" | ||
mv ${tmpdir}/${ant_base} "${install_dir}/apache-ant" | ||
|
||
echo Ant binary installed in "${install_dir}/apache-ant/bin" | ||
|
||
|
||
|