Skip to content

Commit ac12984

Browse files
workflow error fix
1 parent 4b27870 commit ac12984

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/qemu-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
id: qemu
3131
uses: hakwerk/gha-git-repo-tags@main
3232
with:
33-
repository: ${{ github.event.inputs.repo }}
33+
repository: ${{ github.event.inputs.repo || 'qemu/qemu' }}
3434
limit: 1
3535
- name: Parse tags
3636
run: >
@@ -57,19 +57,19 @@ jobs:
5757
git libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev ninja-build
5858
libslirp-dev
5959
version: 1
60-
- name: Checkout ${{ github.event.inputs.repo }} @ ${{ env.latest-tag }}
60+
- name: Checkout ${{ github.event.inputs.repo || 'qemu/qemu' }} @ ${{ env.latest-tag }}
6161
if: ${{ contains(env.skip-build, 'false') }}
6262
uses: actions/checkout@v4
6363
with:
64-
repository: ${{ github.event.inputs.repo }}
64+
repository: ${{ github.event.inputs.repo || 'qemu/qemu' }}
6565
submodules: "true"
6666
ref: ${{ env.latest-tag }}
6767
- name: Build
6868
if: ${{ contains(env.skip-build, 'false') }}
6969
run: |
7070
mkdir $GITHUB_WORKSPACE/output && \
7171
./configure \
72-
--target-list=${{ github.event.inputs.target-list }} \
72+
--target-list=${{ github.event.inputs.target-list || 'aarch64-softmmu,arm-softmmu' }} \
7373
--enable-slirp \
7474
--without-default-features \
7575
--disable-docs \

0 commit comments

Comments
 (0)