fix(ci/json-build): don't install build deps when mock (#5128)

Signed-off-by: madomado <madonuko@outlook.com>
This commit is contained in:
madomado
2025-05-31 15:49:06 +08:00
committed by GitHub
parent f9f4c8fcf6
commit 5b54506355
+1 -1
View File
@@ -35,7 +35,7 @@ jobs:
fi
- name: Install Build Dependencies
if: ${{ !contains(matrix.pkg.labels, 'mock') }}
if: ${{ matrix.pkg.labels.mock != '1' }}
run: |
dir=$(dirname ${{ matrix.pkg.pkg }})
dnf5 builddep -y ${dir}/*.spec