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

(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 02:45:23 -05:00
committed by GitHub
parent 3451838a0c
commit 405b767d9d
+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