mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix ci/cd for multi pkg input; rebuild meson
This commit is contained in:
parent
50224807cb
commit
10583d9b6c
5
.github/workflows/cd.yml
vendored
5
.github/workflows/cd.yml
vendored
|
@ -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 != '' }}
|
||||
|
|
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue