3131 determine-runner :
3232 env :
3333 LXD_ARCH : " ${{ inputs.arch || 'x86' }}"
34- runs-on : ubuntu-20.04
34+ runs-on : [ ubuntu-latest, x64]
3535 outputs :
3636 runner_label : ${{ steps.script.outputs.runner_label }}
3737 steps :
8686 if-no-files-found : error
8787
8888 build-previous :
89- runs-on : ubuntu-20.04
89+ runs-on : [ ubuntu-latest, x64]
9090 if : ${{ inputs.arch == 'x86' || inputs.arch == '' }}
9191 outputs :
9292 artifact_name : " ${{ env.ARTIFACT_NAME }}"
@@ -135,7 +135,7 @@ jobs:
135135 lxd_version : latest/stable
136136 - name : Fix LXD
137137 run : |
138- lxc profile create network
138+ lxc profile list -f csv | grep 'network' || lxc profile create network
139139 cat <<EOF | lxc profile edit network
140140 devices:
141141 eth0:
@@ -145,8 +145,8 @@ jobs:
145145 type: nic
146146 EOF
147147
148- - name : Set up QEMU
149- uses : docker/setup-qemu-action@v2
148+ # - name: Set up QEMU
149+ # uses: docker/setup-qemu-action@v2
150150 - name : Enable qemu SUID
151151 run : docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes
152152 - name : Download qemu binaries
@@ -175,7 +175,7 @@ jobs:
175175 test-update :
176176 needs :
177177 - build-previous
178- runs-on : ubuntu-20.04
178+ runs-on : [ ubuntu-latest, x64]
179179 outputs :
180180 artifact_name : " ${{ env.ARTIFACT_NAME }}"
181181 artifact_file : " ${{ steps.pack-lxd.outputs.artifact_file }}"
@@ -387,7 +387,7 @@ jobs:
387387 convert-to-lxc-image :
388388 needs :
389389 - build-current
390- runs-on : ubuntu-20.04
390+ runs-on : [ ubuntu-latest, x64]
391391 outputs :
392392 artifact_name : " ${{ steps.lxd-to-lxc.outputs.artifact_name }}"
393393 artifact_file : " ${{ steps.lxd-to-lxc.outputs.artifact_file }}"
0 commit comments