From 4d857b4f5f470144191e86fb5217382632b1d563 Mon Sep 17 00:00:00 2001 From: hk Date: Tue, 12 Nov 2024 20:58:36 +0800 Subject: [PATCH] Update build-u-boot.yml --- .github/workflows/build-u-boot.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-u-boot.yml b/.github/workflows/build-u-boot.yml index bda2cb7..112fe4c 100644 --- a/.github/workflows/build-u-boot.yml +++ b/.github/workflows/build-u-boot.yml @@ -21,6 +21,10 @@ jobs: contents: write actions: write + strategy: + matrix: + board: [ax3000t, ax3000t_an8855] + steps: - name: Free disk space (Ubuntu) @@ -67,8 +71,9 @@ jobs: - name: Compile U-Boot id: compile run: | - cd u-boot && SOC=mt7981 BOARD=ax3000t MULTI_LAYOUT=1 FIXED_MTDPARTS=1 ./build.sh && SOC=mt7981 BOARD=ax3000t-an8855 MULTI_LAYOUT=1 FIXED_MTDPARTS=1 ./build.sh - + cd u-boot + SOC=mt7981 BOARD=${{ matrix.board }} MULTI_LAYOUT=1 FIXED_MTDPARTS=1 ./build.sh + echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV echo "status=success" >> $GITHUB_OUTPUT