diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml
index e2b632ebe..a1b380c87 100644
--- a/.github/workflows/ant.yml
+++ b/.github/workflows/ant.yml
@@ -55,10 +55,21 @@ jobs:
echo "mvnCommand=$(which mvn)" >> build.properties;
echo "gpgCommand=$(which gpg)" >> build.properties;
+ - name: Create a gpg key for signing
+ shell: bash
+ run: >-
+ gpg --quick-gen-key --batch --passphrase '' github-build@apache.invalid;
+ echo "batch" >> "/home/runner/.gnupg/gpg.conf";
+ echo "pinentry-mode=loopback" >> "/home/runner/.gnupg/gpg.conf";
+
- name: Prepare ant with ivy
shell: bash
run: ant download-ivy
- name: Build with Ant and ivy
shell: bash
- run: ant ci
+ run: ant ci -Dci=true
+
+ - name: RAT check
+ shell: bash
+ run: ant rat
diff --git a/build.xml b/build.xml
index a7579b930..6c499af27 100644
--- a/build.xml
+++ b/build.xml
@@ -25,6 +25,8 @@
xmlns:bnd="http://www.aqute.biz/bnd"
xmlns:rat="antlib:org.apache.rat.anttasks"
xmlns:u="http://freemarker.org/util"
+ xmlns:if="ant:if"
+ xmlns:unless="ant:unless"
>
@@ -748,11 +750,12 @@
Is the above signer the intended one for Apache releases?
-
+
-
+
Creating checksum file for "${archive.gzip}"...
@@ -952,7 +955,7 @@ Proceed?