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

multiple arch multiple run #92

Open
surfzoid opened this issue Sep 27, 2022 · 2 comments
Open

multiple arch multiple run #92

surfzoid opened this issue Sep 27, 2022 · 2 comments

Comments

@surfzoid
Copy link

surfzoid commented Sep 27, 2022

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?

@martin-g
Copy link
Contributor

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

@surfzoid
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants