Skip to content

Commit 07b8257

Browse files
committed
add sudo
1 parent feb03c6 commit 07b8257

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/build.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -312,21 +312,17 @@ jobs:
312312
timeout-minutes: 90
313313

314314
steps:
315-
- name: Install Chromium (ARM only)
316-
if: matrix.config.name == 'ARM Ubuntu 22.04'
317-
run: sudo apt-get update && sudo apt-get install -y chromium-browser
318-
319-
- name: Ensure fpm works on ARM64
315+
- name: Install Chromium and ensure fpm works (ARM only)
320316
if: matrix.config.name == 'ARM Ubuntu 22.04'
321317
run: |
322318
sudo apt-get update
323-
sudo apt-get install -y ruby ruby-dev
319+
sudo apt-get install -y chromium-browser ruby ruby-dev
324320
sudo gem install fpm
325321
echo "USE_SYSTEM_FPM=true" >> $GITHUB_ENV
326-
327322
- name: Install RPM Build Tools (Linux only)
328323
if: runner.os == 'Linux'
329324
run: |
325+
apt update && apt install sudo
330326
sudo apt-get update
331327
sudo apt-get install -y rpm
332328

0 commit comments

Comments
 (0)