Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support ARM workers #273

Merged
merged 2 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,3 +273,22 @@ jobs:
echo "Expected exit code 1"
exit 1
fi
lychee-action-arm:
runs-on: ubuntu-24.04-arm
name: Basic check for ARM-based runners
steps:
- name: Checkout
uses: actions/checkout@v4

- name: test defaults
uses: ./

- name: test explicit lychee version
uses: ./
with:
lycheeVersion: v0.15.1

- name: test nightly lychee version
uses: ./
with:
lycheeVersion: nightly
5 changes: 3 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,13 @@ runs:
- name: Download and extract lychee
id: lychee-setup
run: |
ARCH=$(uname -m)
# Determine filename and download URL based on version
if [[ "${LYCHEE_VERSION}" =~ ^v0\.0|^v0\.1[0-5]\. ]]; then
FILENAME="lychee-${LYCHEE_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
FILENAME="lychee-${LYCHEE_VERSION}-${ARCH}-unknown-linux-gnu.tar.gz"
DOWNLOAD_URL="https://github.com/lycheeverse/lychee/releases/download/${LYCHEE_VERSION}/${FILENAME}"
else
FILENAME="lychee-x86_64-unknown-linux-gnu.tar.gz"
FILENAME="lychee-${ARCH}-unknown-linux-gnu.tar.gz"
if [[ "${LYCHEE_VERSION}" == 'nightly' ]]; then
DOWNLOAD_URL="https://github.com/lycheeverse/lychee/releases/download/nightly/${FILENAME}"
elif [[ "${LYCHEE_VERSION}" == 'latest' ]]; then
Expand Down
Loading