From 53b67333bed4c5de740fb18ad752840f5f1ffae0 Mon Sep 17 00:00:00 2001 From: Curtis Rueden Date: Tue, 7 Nov 2023 11:27:23 -0600 Subject: [PATCH] CI: tweak build script to satisfy Windows node --- .github/build.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/build.sh b/.github/build.sh index 44a7909d1..4dc8bebd4 100755 --- a/.github/build.sh +++ b/.github/build.sh @@ -1,4 +1,10 @@ -#!/bin/sh +#!/bin/bash +echo "Downloading ci-build script..." curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/ci-build.sh +chmod +x ci-build.sh + # NB: Only the Linux CI node should deploy build artifacts. -NO_DEPLOY=$(test "$(uname)" = Linux || echo 1) sh ci-build.sh +export NO_DEPLOY=$(test "$(uname)" = Linux || echo 1) + +echo "Running ci-build script..." +./ci-build.sh