This is an automated email from the ASF dual-hosted git repository.

pjfanning pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 72eab810b3 Update Ant setup in GitHub Actions workflow
72eab810b3 is described below

commit 72eab810b33d97632d1fd7e04f7231118bd454e6
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Sep 7 13:06:20 2026 +0100

    Update Ant setup in GitHub Actions workflow
    
    Replaced manual Ant setup with installation via apt-get.
---
 .github/workflows/test-ant.yml | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/test-ant.yml b/.github/workflows/test-ant.yml
index 3c31833504..1d07e4df90 100644
--- a/.github/workflows/test-ant.yml
+++ b/.github/workflows/test-ant.yml
@@ -30,12 +30,9 @@ jobs:
         distribution: 'temurin'
         java-version: ${{ matrix.java }}
 
-    - name: Set up Ant
-      id: setup-ant
-      run: |
-        wget 
https://dist.apache.org/repos/dist/release/ant//binaries/apache-ant-1.10.17-bin.tar.gz
-        tar --exclude=apache-ant-1.10.17/manual -xzvf 
apache-ant-1.10.17-bin.tar.gz
-        ANT_HOME=`pwd`/apache-ant-1.10.17 apache-ant-1.10.17/bin/ant -version
+    # this is more robust than wget of the tar.gz
+    - name: Install Ant
+      run: sudo apt-get update && sudo apt-get install -y ant
 
     - name: Cache downloaded third-party libraries
       uses: actions/cache@v6


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to