mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
ci(package-pr): move into different var
This commit is contained in:
parent
88faac0335
commit
792c7c69eb
1 changed files with 2 additions and 1 deletions
3
.github/workflows/package-pr.yaml
vendored
3
.github/workflows/package-pr.yaml
vendored
|
@ -32,7 +32,8 @@ jobs:
|
|||
id: 'get-packages'
|
||||
shell: bash
|
||||
run: |
|
||||
PACKAGES=$(echo '${{ steps.get-pr-commits.outputs.commits }}' | jq .[].commit.message -r | grep -oP '^pkg\(\K[^:\h\n]+(?=\))'' | sort -u | sed 's/^/* /')
|
||||
COMMITS='${{ steps.get-pr-commits.outputs.commits }}'
|
||||
PACKAGES=$(echo $COMMITS | jq .[].commit.message -r | grep -oP '^pkg\(\K[^:\h\n]+(?=\))'' | sort -u | sed 's/^/* /')
|
||||
PACKAGES=${PACKAGES//$'%'/'%25'}
|
||||
PACKAGES=${PACKAGES//$'\n'/'%0A'}
|
||||
PACKAGES=${PACKAGES//$'\r'/'%0D'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue