From 62a05bf71e7c94e2306d4fb3d858d03a5f3b075f Mon Sep 17 00:00:00 2001 From: G-eos <1248414+G-eos@users.noreply.github.com> Date: Thu, 14 Nov 2024 00:02:00 +0100 Subject: [PATCH] Update action.yml --- .github/actions/download-swt/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/download-swt/action.yml b/.github/actions/download-swt/action.yml index f5a0f9d3f..8f4f24221 100644 --- a/.github/actions/download-swt/action.yml +++ b/.github/actions/download-swt/action.yml @@ -41,7 +41,7 @@ runs: BASE_URL="https://download.eclipse.org/swt/downloads/drops/R-${SWT_VERSION}" # Use curl to fetch the page, then grep to extract the date - DATE=$(curl -s "$BASE_URL" | grep -oE "R-${SWT_VERSION}-[0-9]{8}" | head -1 | sed 's/R-${SWT_VERSION}-//') + DATE=$(curl -s "$BASE_URL" | grep -oE "R-${SWT_VERSION}-[0-9]{8}" | head -1 | sed "s/R-${SWT_VERSION}-//") if [ -z "$DATE" ]; then echo "Error: Could not find the date for SWT version ${SWT_VERSION}."