fix ci/cd for multi pkg input; rebuild meson

This commit is contained in:
Max Howell 2023-02-14 15:15:22 -05:00
parent 50224807cb
commit 10583d9b6c
No known key found for this signature in database
GPG key ID: 741BB84EF5BB9EEC
3 changed files with 8 additions and 3 deletions

View file

@ -81,7 +81,10 @@ jobs:
PATTERNS: projects/**/package.yml
- id: diff
run: |
RESULT=$(echo ${{ steps.get-diff.outputs.diff }} | sed 's#projects/\(.*\)/.*#\1#')
for x in ${{ steps.get-diff.outputs.diff }}; do
y=$(echo $x | sed 's#projects/\(.*\)/package.yml#\1#')
RESULT="$RESULT $y"
done
echo "diff=$RESULT" >> $GITHUB_OUTPUT
- run: gh workflow run new-version.yml -R teaxyz/pantry.core -f "projects=$PROJECTS"
if: ${{ steps.diff.outputs.diff != '' }}

View file

@ -15,7 +15,10 @@ jobs:
PATTERNS: projects/**/package.yml
- id: diff
run: |
RESULT=$(echo ${{ steps.get-diff.outputs.diff }} | sed 's#projects/\(.*\)/.*#\1#')
for x in ${{ steps.get-diff.outputs.diff }}; do
y=$(echo $x | sed 's#projects/\(.*\)/package.yml#\1#')
RESULT="$RESULT $y"
done
echo "diff=$RESULT" >> $GITHUB_OUTPUT
build:
strategy:

View file

@ -7,7 +7,6 @@ versions:
dependencies:
python.org: ^3
gnu.org/bash: '>=2' # for our venv/relocation scripts: feel free to fix that
build:
python-venv.sh "{{prefix}}/bin/meson"