Index: trunk/.github/workflows/ant.yml
===================================================================
--- trunk/.github/workflows/ant.yml	(revision 18140)
+++ trunk/.github/workflows/ant.yml	(revision 18142)
@@ -116,6 +116,14 @@
 
       - name: Build with Ant
+        env:
+          SIGN_ALIAS: ${{ secrets.SIGN_ALIAS }}
+          SIGN_CERT: ${{ secrets.SIGN_CERT }}
+          SIGN_KEYPASS: ${{ secrets.SIGN_KEYPASS }}
+          SIGN_STOREPASS: ${{ secrets.SIGN_STOREPASS }}
+          SIGN_TSA: ${{ secrets.SIGN_TSA }}
         # Calls ant with -Dreleasebuild=true if we're a 'tested' build
         run: |
+          SIGN_KEYSTORE=certificate.p12
+          echo "$SIGN_CERT" | base64 --decode > $SIGN_KEYSTORE
           if [ "${{ needs.createrelease.outputs.josm_prerelease }}" == "true" ]; then
             ANT="${{ env.ANT_HOME }}/bin/ant"
@@ -124,4 +132,5 @@
           fi
           $ANT dist
+          rm $SIGN_KEYSTORE
 
       - name: Upload jar
