Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
G-eos authored Nov 13, 2024
1 parent 30e7c5e commit 62a05bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/download-swt/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}."
Expand Down

0 comments on commit 62a05bf

Please sign in to comment.