Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Commit

Permalink
ci: only recipes when generating
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Apr 28, 2024
1 parent 3369844 commit 7a5edf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
/home/linuxbrew/.linuxbrew/bin/brew install pkl
RECIPES=$(/home/linuxbrew/.linuxbrew/bin/pkl eval ./generators/main.pkl -m ./recipes)
RECIPES=$(/home/linuxbrew/.linuxbrew/bin/pkl eval ./generators/main.pkl -m . | sed '/.*files/d')
# newlines replaced with spaces
echo "Generated recipes: ${RECIPES//$'\n'/ }"
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
id: recipe_meta
run: |
/home/linuxbrew/.linuxbrew/bin/brew install pkl
/home/linuxbrew/.linuxbrew/bin/pkl eval ./generators/main.pkl -m ./recipes
/home/linuxbrew/.linuxbrew/bin/pkl eval ./generators/main.pkl -m .
echo "IMAGE_NAME=$(yq '.name' ./${{matrix.recipe}} )" >> $GITHUB_OUTPUT
echo "IMAGE_DESCRIPTION=$(yq '.description' ./${{matrix.recipe}} )" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 7a5edf8

Please sign in to comment.