Skip to content

Commit ced59fe

Browse files
committed
build-lxd.yml: Always use firefox from packages on arm64
1 parent f4ecb35 commit ced59fe

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build-lxd.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,11 +364,12 @@ jobs:
364364
with:
365365
ref: "v1.54.3"
366366
- name: Setup Firefox
367+
if: ${{ runner.arch != 'ARM64' }}
367368
continue-on-error: true
368369
id: setup-firefox-browser-action
369370
uses: browser-actions/setup-firefox@latest
370371
- name: Setup Firefox from packages
371-
if: ${{ steps.setup-firefox-browser-action.outcome == 'failure' }}
372+
if: ${{ runner.arch == 'ARM64' || steps.setup-firefox-browser-action.outcome == 'failure' }}
372373
run: |
373374
sudo apt-get update
374375
sudo apt-get install -y --no-install-recommends firefox
@@ -641,11 +642,12 @@ jobs:
641642
sudo iptables -I DOCKER-USER -o incusbr0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
642643
sudo incus admin init --auto
643644
- name: Setup Firefox
645+
if: ${{ runner.arch != 'ARM64' }}
644646
continue-on-error: true
645647
id: setup-firefox-browser-action
646648
uses: browser-actions/setup-firefox@latest
647649
- name: Setup Firefox from packages
648-
if: ${{ steps.setup-firefox-browser-action.outcome == 'failure' }}
650+
if: ${{ runner.arch == 'ARM64' || steps.setup-firefox-browser-action.outcome == 'failure' }}
649651
run: |
650652
sudo apt-get update
651653
sudo apt-get install -y --no-install-recommends firefox

0 commit comments

Comments
 (0)