Skip to content

Commit

Permalink
workflow: use find to locate archive
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorxda committed Jan 27, 2025
1 parent 48d3be2 commit e5ad5ae
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,15 +188,12 @@ jobs:
TIME=$(date -d @${SECONDS} +%M:%S)
echo TIME=${TIME} >> ${GITHUB_ENV}
PLATFORM=$(echo ${{matrix.platform}} | cut -d_ -f1)
RELEASE=$(echo ${{matrix.platform}} | cut -d_ -f2)
NORFW=${GITHUB_WORKSPACE}/output/images/openipc.${PLATFORM}-nor-${RELEASE}.tgz
NORFW=$(find output/images -name openipc*nor*)
if [ -e ${NORFW} ]; then
echo NORFW=${NORFW} >> ${GITHUB_ENV}
fi
NANDFW=${GITHUB_WORKSPACE}/output/images/openipc.${PLATFORM}-nand-${RELEASE}.tgz
NANDFW=$(find output/images -name openipc*nand*)
if [ -e ${NANDFW} ]; then
echo NANDFW=${NANDFW} >> ${GITHUB_ENV}
fi
Expand Down

0 comments on commit e5ad5ae

Please sign in to comment.