From a41ce240a3fa97bbeed63d467190e339865388e0 Mon Sep 17 00:00:00 2001 From: Suhaas Joshi Date: Tue, 12 Nov 2024 10:28:43 +0530 Subject: [PATCH] Actions: Update output tar name to look for Since we are now appending the BSP version in image's/tar's names, Github Actions also needs to be updated to work with a file which has the BSP version included in it. So update Github Actions to work with the new naming scheme. Signed-off-by: Suhaas Joshi --- .github/workflows/Build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 946829f..9dac753 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -68,12 +68,16 @@ jobs: run: | mkdir -p build sudo ./build.sh ${{ matrix.builds }} + distro_codename=($(toml get ${{ matrix.builds }}.distro_codename --toml-path ./builds.toml)) + bsp_version=($(toml get ${distro_codename}.bsp_version --toml-path ./configs/bsp_sources.toml)) + builds_out="${{ matrix.builds }}-${bsp_version}" + echo "builds_out=${builds_out}" >>$GITHUB_ENV - - name: Upload ${{ matrix.builds }} + - name: Upload ${{ env.builds_out }} uses: actions/upload-artifact@v3.1.2 with: - path: build/${{ matrix.builds }}.tar.xz - name: ${{ matrix.builds }} + path: build/${{ env.builds_out }}.tar.xz + name: ${{ env.builds_out }} if-no-files-found: error - name: Upload ${{ matrix.builds }}.log