File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -273,3 +273,22 @@ jobs:
273273 echo "Expected exit code 1"
274274 exit 1
275275 fi
276+ lychee-action-arm :
277+ runs-on : ubuntu-24.04-arm
278+ name : Basic check for ARM-based runners
279+ steps :
280+ - name : Checkout
281+ uses : actions/checkout@v4
282+
283+ - name : test defaults
284+ uses : ./
285+
286+ - name : test explicit lychee version
287+ uses : ./
288+ with :
289+ lycheeVersion : v0.15.1
290+
291+ - name : test nightly lychee version
292+ uses : ./
293+ with :
294+ lycheeVersion : nightly
Original file line number Diff line number Diff line change @@ -64,12 +64,13 @@ runs:
6464 - name : Download and extract lychee
6565 id : lychee-setup
6666 run : |
67+ ARCH=$(uname -m)
6768 # Determine filename and download URL based on version
6869 if [[ "${LYCHEE_VERSION}" =~ ^v0\.0|^v0\.1[0-5]\. ]]; then
69- FILENAME="lychee-${LYCHEE_VERSION}-x86_64 -unknown-linux-gnu.tar.gz"
70+ FILENAME="lychee-${LYCHEE_VERSION}-${ARCH} -unknown-linux-gnu.tar.gz"
7071 DOWNLOAD_URL="https://github.com/lycheeverse/lychee/releases/download/${LYCHEE_VERSION}/${FILENAME}"
7172 else
72- FILENAME="lychee-x86_64 -unknown-linux-gnu.tar.gz"
73+ FILENAME="lychee-${ARCH} -unknown-linux-gnu.tar.gz"
7374 if [[ "${LYCHEE_VERSION}" == 'nightly' ]]; then
7475 DOWNLOAD_URL="https://github.com/lycheeverse/lychee/releases/download/nightly/${FILENAME}"
7576 elif [[ "${LYCHEE_VERSION}" == 'latest' ]]; then
You can’t perform that action at this time.
0 commit comments