Skip to content

fix(release): use if/else for protoc install, add apt-get update for aarch64 #55

@polaz

Description

@polaz

Problem

Build embedded / aarch64 (ubuntu-latest) still fails in v1.0.2:

  • aarch64 uses ghcr.io/rust-cross/manylinux_2_28-cross:aarch64 (Debian-based) → needs apt-get update before install
  • The || chain in before-script also causes both dnf AND yum to run on x86_64 (yum=alias for dnf on AlmaLinux 8), then apt-get is tried and fails with 'command not found'

Fix

Replace || chain with if/else: check for dnf first (manylinux x86_64 = AlmaLinux 8), fall back to apt-get update && apt-get install (rust-cross aarch64 = Debian).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions