Skip to content

Commit 27c5d0f

Browse files
committed
Simplify installations
1 parent 59ef475 commit 27c5d0f

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/test-install-scripts.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,9 @@ jobs:
214214
- name: Prepare Amazon Linux
215215
if: ${{ matrix.distribution.type == 'amazon' }}
216216
run: |
217-
dnf install --assumeyes git sudo
218-
sudo dnf update -y
219-
sudo dnf search python3.12
220-
sudo dnf install python3.12 -y
217+
dnf update -y
218+
dnf search python3.12
219+
dnf install python3.12 -y
221220
222221
- name: Prepare Arch
223222
if: ${{ matrix.distribution.type == 'arch' }}
@@ -245,10 +244,9 @@ jobs:
245244
- name: Prepare Rocky
246245
if: ${{ matrix.distribution.type == 'rocky' }}
247246
run: |
248-
dnf install --assumeyes git sudo
249-
sudo dnf update -y
250-
sudo dnf search python3.12
251-
sudo dnf install python3.12 -y
247+
dnf update -y
248+
dnf search python3.12
249+
dnf install python3.12 -y
252250
253251
- name: Prepare Ubuntu
254252
if: ${{ matrix.distribution.type == 'ubuntu' }}

0 commit comments

Comments
 (0)