build(deps): bump uraimo/run-on-arch-action from 2.7.2 to 2.8.1 #40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: QEMU Playbook Checker | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/build_qemu.yml | |
- ansible/playbooks/AdoptOpenJDK_Unix_Playbook/** | |
branches: | |
- master | |
types: [ labeled ] | |
permissions: | |
contents: read | |
jobs: | |
build_job: | |
if: ${{ github.event.label.name == 'QEMU-playbook-check' }} | |
# The host should always be linux | |
runs-on: ubuntu-latest | |
name: Build on ${{ matrix.distro }} ${{ matrix.arch }} | |
strategy: | |
matrix: | |
include: | |
- arch: aarch64 | |
distro: ubuntu18.04 | |
- arch: aarch64 | |
distro: buster | |
- arch: ppc64le | |
distro: ubuntu18.04 | |
- arch: s390x | |
distro: ubuntu18.04 | |
- arch: riscv64 | |
distro: ubuntu20.04 | |
# - arch: armv7 | |
# distro: jessie | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Run on architecture | |
uses: uraimo/run-on-arch-action@5397f9e30a9b62422f302092631c99ae1effcd9e # v2.8.1 | |
with: | |
arch: ${{ matrix.arch }} | |
distro: ${{ matrix.distro }} | |
run: | | |
apt -y update | |
apt -y install ansible sudo | |
echo "localhost ansible_user=runner ansible_connection=local" > ansible/hosts | |
set -eux | |
cd ansible | |
if [ ! -e /usr/bin/python ] ; then ln -s /usr/bin/python3 /usr/bin/python ; fi | |
sudo ansible-playbook -i hosts --extra-vars 'git_sha=${{ github.sha }}' playbooks/AdoptOpenJDK_Unix_Playbook/main.yml --skip-tags="debug,jenkins,docker,ntp_time,swap_file,adoptopenjdk,jenkins" |