Skip to content

Commit

Permalink
Merge branch 'main' into commons-beanutils-digester
Browse files Browse the repository at this point in the history
  • Loading branch information
henrylee97 committed Nov 30, 2023
2 parents 97cb1cb + 4496b0b commit 66938bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ jobs:
id: check-if-base-image-exists
run: |
lang=$(echo ${{ matrix.target }} | cut -d'/' -f1)
proj=$(echo ${{ matrix.target }} | cut -d'/' -f2 | rev | cut-d'-' -f2- | rev)
proj=$(echo ${{ matrix.target }} | cut -d'/' -f2 | rev | cut -d'-' -f2- | rev)
echo "base_dir=${lang}-base/${proj}"
if [ -d ${lang}-base/${proj} ]; then
echo "base=${lang}-base/${proj}" >> ${GITHUB_OUTPUT}
echo "image=${lang}-base:${proj}" | tr '[:upper:]' '[:lower:]' >> ${GITHUB_OUTPUT}
Expand Down

0 comments on commit 66938bb

Please sign in to comment.