Skip to content

Commit 8d14f99

Browse files
committed
Update to Maven 3.8.4 on OSX CI builds
1 parent f3e670e commit 8d14f99

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -290,15 +290,18 @@ jobs:
290290
./genbindings.sh ./ldk-c-bindings/ "-I$JAVA_HOME/include/ -I$JAVA_HOME/include/darwin -isysroot$(xcrun --show-sdk-path)" false false || echo
291291
cat src/main/resources/liblightningjni_MacOSX-aarch64.nativelib > /dev/null
292292
fi
293-
- name: Fetch Maven 3.8.3
293+
- name: Fetch Maven 3.8.4
294294
run: |
295-
wget -O apache-maven-3.8.3-bin.tar.gz https://apache.osuosl.org/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.tar.gz
296-
if [ "$(shasum -a 256 apache-maven-3.8.3-bin.tar.gz | awk '{ print $1 }')" != "0f1597d11085b8fe93d84652a18c6deea71ece9fabba45a02cf6600c7758fd5b" ]; then
295+
# We don't bother using the upstream mirrors as they remove prior
296+
# releases aggressively, causing spurious CI failures when we don't
297+
# care about the version used.
298+
wget -O apache-maven-3.8.4-bin.tar.gz https://bitcoin.ninja/apache-maven-3.8.4-bin.tar.gz
299+
if [ "$(shasum -a 256 apache-maven-3.8.4-bin.tar.gz | awk '{ print $1 }')" != "2cdc9c519427bb20fdc25bef5a9063b790e4abd930e7b14b4e9f4863d6f9f13c" ]; then
297300
echo "Bad hash"
298301
exit 1
299302
fi
300-
tar xvvf apache-maven-3.8.3-bin.tar.gz
301-
export PATH=apache-maven-3.8.3/bin:$PATH
303+
tar xvvf apache-maven-3.8.4-bin.tar.gz
304+
export PATH=apache-maven-3.8.4/bin:$PATH
302305
- name: Run Java Tests against built jar
303306
run: |
304307
mvn -DskipTests=true package

0 commit comments

Comments
 (0)