Open surfzoid opened 1 year ago
The install
action at https://github.com/uraimo/run-on-arch-action#advanced-example does shows how to do it:
install: |
case "${{ matrix.distro }}" in
ubuntu*|jessie|stretch|buster|bullseye)
apt-get update -q -y
apt-get install -q -y git
;;
fedora*)
dnf -y update
dnf -y install git which
;;
alpine*)
apk update
apk add git
;;
esac
yes install use select case so i just guess, run must do the same. any way, i finally used my raspeberry as selfhosted, really easy and fast.
Hi i'm using your action here : https://github.com/surfzoid/test/actions/runs/3133635865/jobs/5087228929
My idea is to build aarch64 RPM and DEB, but i'm confuse on how select the case distro: ubuntu_latest a deb os based and : distro: fedora_latest a RPM os based.
i cannot ask for dh-helper and rpmbuild for both.
Can you please clarify?