Skip to content

Commit

Permalink
Actions: Update output tar name to look for
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jsuhaas22 committed Nov 21, 2024
1 parent a023622 commit a41ce24
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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
Expand Down

0 comments on commit a41ce24

Please sign in to comment.