diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml index cadcf3ed51..51e90f7e8f 100644 --- a/.github/workflows/ant.yml +++ b/.github/workflows/ant.yml @@ -54,7 +54,11 @@ jobs: rm -f override.properties echo "build.built-by=GitHub Actions" >> override.properties echo "noExe=true" >> override.properties - - name: build with Ant + - name: test Debian build with Ant + run: ant distclean + - name: build mavenCentral deps with Ant + run: ant mavenCentral.deps + - name: build javadoc with Ant run: ant distclean javadoc updater - name: zip javadoc run: cp i2pupdate.zip build/javadoc/i2pupdate.zip && zip -r javadoc.zip build/javadoc @@ -91,7 +95,9 @@ jobs: echo "build.built-by=GitHub Actions" >> override.properties echo "noExe=true" >> override.properties echo "javac.compilerargs=-bootclasspath $HOME/openjdk-7/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:$HOME/openjdk-7/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar -Xlint:all" >> override.properties - - name: build with Ant + - name: build mavenCentral deps with Ant + run: ant mavenCentral.deps + - name: build Maven dev build with Ant run: ./installer/resources/maven-dev-release.sh 1 - name: Upload servlet-i2p.jar uses: actions/upload-artifact@v4 diff --git a/core/java/src/net/i2p/time/BuildTime.java b/core/java/src/net/i2p/time/BuildTime.java index fffa47af08..4590bdeac8 100644 --- a/core/java/src/net/i2p/time/BuildTime.java +++ b/core/java/src/net/i2p/time/BuildTime.java @@ -34,10 +34,10 @@ public class BuildTime { private static final long _latestTime; private static final long YEARS_25 = 25L*365*24*60*60*1000; /** update this periodically */ - private static final String EARLIEST = "2024-03-30 12:00:00 UTC"; + private static final String EARLIEST = "2024-05-02 12:00:00 UTC"; // fallback if parse fails ticket #1976 // date -d 202x-xx-xx +%s - private static final long EARLIEST_LONG = 1711756800 * 1000L; + private static final long EARLIEST_LONG = 1714608000 * 1000L; static { // this is the standard format of build.timestamp as set in the top-level build.xml