-
Notifications
You must be signed in to change notification settings - Fork 1
Inputs
By default, this action will install the latest stable release of Apache Ant and set accordingly the ANT_HOME environment variable.
You can customize the downloaded release with the following inputs:
The version constraint of Apache Ant (optional, defaults to latest).
Allowed values are:
-
latestor*: the latest stable release. - a loose version number:
1,1.10, etc. This is equivalent to using the>=operator. - a strict version number:
=1.0.0,=1.10.0, etc. - a version specification:
<=1,>1.10, etc.
Note
The version constraint uses a very basic syntax and algorithm, but it should suffice in most cases.
If this isn't enough, feel free to open an issue.
By default, the external libraries required by each of the optional tasks are not installed. It's up to you to ensure that these libraries are properly added to Ant's class path.
You can automate this installation process by setting the optional-tasks input to true. This will run the following command after Ant has been set up:
ant -buildfile fetch.xml -Ddest=system