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

(cherry picked from commit 5b54506355)

Signed-off-by: madomado <madonuko@outlook.com>
Signed-off-by: RockGrub <RockGrub@users.noreply.github.com>
Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
Gilver
2025-05-31 02:56:01 -05:00
committed by GitHub
parent 3a9b19e4bb
commit ffcf822555
+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