Skip to content

Commit

Permalink
only install qemu on non-amd64 arch
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Jun 14, 2023
1 parent a960fd7 commit 7cd8b02
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci-build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,13 @@ jobs:
needs: [get-pom-properties]
steps:
- name: Install qemu
if: ${{ inputs.build-arch != 'amd64' }}
continue-on-error: true
run: |
sudo apt-get update
sudo apt-get install -y qemu-user-static
- uses: actions/checkout@v2
if: always()
with:
repository: ${{ inputs.checkout-repo }}
ref: ${{ inputs.checkout-ref }}
Expand Down Expand Up @@ -87,10 +90,13 @@ jobs:
if: ${{ ! inputs.skip-itests }}
steps:
- name: Install qemu
if: ${{ inputs.build-arch != 'amd64' }}
continue-on-error: true
run: |
sudo apt-get update
sudo apt-get install -y qemu-user-static
- uses: actions/checkout@v2
if: always()
with:
repository: ${{ inputs.checkout-repo }}
ref: ${{ inputs.checkout-ref }}
Expand Down

0 comments on commit 7cd8b02

Please sign in to comment.