fix(ci/json-build): invoke mock properly thanks gha (#5127) (#5145)

(cherry picked from commit dace2208cf)

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 00:03:32 -05:00
committed by GitHub
parent 94e5cfc8be
commit 03d27ee62b
+1 -1
View File
@@ -41,7 +41,7 @@ jobs:
dnf5 builddep -y ${dir}/*.spec
- name: Build with Andaman
run: anda build -D "vendor Terra" ${{ matrix.pkg.pkg }} -c terra-${{ matrix.version }}-${{ matrix.pkg.arch }} ${{ contains(matrix.pkg.labels, 'mock') && '' || '-rrpmbuild' }}
run: anda build -D "vendor Terra" ${{ matrix.pkg.pkg }} -c terra-${{ matrix.version }}-${{ matrix.pkg.arch }} ${{ !matrix.pkg.labels.mock == '1' && '-rrpmbuild' || '' }}
- name: Generating artifact name
id: art