ci: remove sudo from gh installation in manylinux workflow

- Remove unnecessary sudo calls from dnf commands in self-hosted manylinux environment
- Commands are already executed with root privileges in the CI runner
This commit is contained in:
Junya Morioka
2025-12-13 18:28:53 +09:00
parent 92464a9b3b
commit df77e68130
@@ -74,9 +74,9 @@ jobs:
- name: Install gh
shell: bash
run: |
sudo dnf install 'dnf-command(config-manager)'
sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
sudo dnf -y install gh --repo gh-cli
dnf install -y 'dnf-command(config-manager)'
dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
dnf -y install gh --repo gh-cli
- uses: actions/checkout@v4