fix(ci/build): use mock (#2972)

* fix(ci/build): use mock

* the funn

Signed-off-by: madomado <madonuko@outlook.com>

---------

Signed-off-by: madomado <madonuko@outlook.com>
This commit is contained in:
madomado
2025-01-15 18:58:44 +08:00
committed by GitHub
parent d2ee643b86
commit 085d4fc4e2
+1 -8
View File
@@ -60,15 +60,8 @@ jobs:
- name: Set up git repository
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: CI Setup Script
run: |
dir=${{ matrix.pkg }}
if [ -f $dir/ci_setup.rhai ]; then
anda run $dir/ci_setup.rhai --labels script_path=$dir/ci_setup.rhai
fi
- name: Build with Andaman
run: anda build -rrpmbuild anda/${{ matrix.pkg }}pkg
run: anda build -c terra-${{ matrix.version }}-${{ matrix.arch }} anda/${{ matrix.pkg }}pkg
- name: Generating artifact name
id: art