Skip to content

Action fails on arm64 runners #44

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

Open
WyriHaximus opened this issue May 18, 2025 · 0 comments
Open

Action fails on arm64 runners #44

WyriHaximus opened this issue May 18, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@WyriHaximus
Copy link

Describe the bug
Action fails to run on arm64 because it tries to run amd64 code:

Image

To Reproduce
Steps to reproduce the behavior:

Run the following workflow on a arm64 machine:

name: Check Markdown links

on:
  workflow_call:
    inputs:
      runsOn:
        description: Define on which runner this workflow should run
        default: "ubuntu-latest"
        required: false
        type: string
      workingDirectory:
        description: The directory to run this workflow in
        default: ""
        required: false
        type: string

#defaults:
#  run:
#    working-directory: ${{ inputs.workingDirectory }}

jobs:
  markdown-link-check:
    name: Check Markdown links
    runs-on: ${{ inputs.runsOn }}
    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          sparse-checkout-cone-mode: false
          sparse-checkout: |
            !${{ inputs.workingDirectory }}/*
            ${{ inputs.workingDirectory }}/**/*.md
      - name: Check Markdown links
        uses: umbrelladocs/action-linkspector@v1
        with:
          reporter: github-pr-review
          fail_on_error: true
#          config_file: etc/ci/markdown-link-checker.json

Expected behavior
Action successfully runs on arm64, this is from another project about 6 to 7 hours ago:

Image

Additional context
Running this actions on GitHub shared runners for my public repos, and on Raspberry Pi's on my home cluster for private repositories

@WyriHaximus WyriHaximus added the bug Something isn't working label May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant