aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-07-16 17:16:19 +0000
committerPJ Fanning <fanningpj@apache.org>2021-07-16 17:16:19 +0000
commit46530265ac9f2b9453e7e08e5fd48dad9450517a (patch)
tree5f7ef199d5c323cb25629c9d323338071efd6c0b
parente8c400cd2748debb989ac4f14026c008ea9117b6 (diff)
downloadpoi-46530265ac9f2b9453e7e08e5fd48dad9450517a.tar.gz
poi-46530265ac9f2b9453e7e08e5fd48dad9450517a.zip
try to fix ant build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891592 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--.github/workflows/test-ant.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/test-ant.yml b/.github/workflows/test-ant.yml
index ad35d18903..4e46837f4b 100644
--- a/.github/workflows/test-ant.yml
+++ b/.github/workflows/test-ant.yml
@@ -22,6 +22,8 @@ jobs:
java: [ '8', '11' ]
name: Java ${{ matrix.java }} build
+ env:
+ ANT_VERSION: 1.10.11
steps:
- uses: actions/checkout@v2
@@ -35,9 +37,9 @@ jobs:
- name: Set up Ant
id: setup-ant
run: |
- wget https://www.apache.org/dist/ant/binaries/apache-ant-1.10.11-bin.tar.gz
- tar --exclude=apache-ant-1.10.11/manual -xzvf apache-ant-1.10.11-bin.tar.gz
- ANT_HOME=`pwd`/apache-ant-1.10.11 apache-ant-1.10.11/bin/ant -version
+ wget https://archive.apache.org/dist/ant/binaries/apache-ant-$ANT_VERSION-bin.tar.gz
+ tar --exclude=apache-ant-$ANT_VERSION/manual -xzvf apache-ant-$ANT_VERSION-bin.tar.gz
+ ANT_HOME=`pwd`/apache-ant-$ANT_VERSION $ANT_HOME/bin/ant -version
- name: Cache downloaded third-party libraries
uses: actions/cache@v2.1.3
@@ -53,4 +55,4 @@ jobs:
svn co https://svn.apache.org/repos/asf/poi/site/src/documentation src/documentation
- name: Build with Ant
- run: ANT_HOME=`pwd`/apache-ant-1.10.11 apache-ant-1.10.11/bin/ant clean jenkins
+ run: ANT_HOME=`pwd`/apache-ant-$ANT_VERSION $ANT_HOME/bin/ant clean jenkins