refactor(cicd): move git command out of variable to debug it
Some checks failed
Wallset Pipeline / detect-changes (pull_request) Failing after 16s
Some checks failed
Wallset Pipeline / detect-changes (pull_request) Failing after 16s
This commit is contained in:
@@ -18,9 +18,7 @@ jobs:
|
|||||||
changed: ${{ steps.set.outputs.changed }}
|
changed: ${{ steps.set.outputs.changed }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Detect changed packs
|
- name: Detect changed packs
|
||||||
id: set
|
id: set
|
||||||
run: |
|
run: |
|
||||||
PACKS=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^assets/' | cut -d '/' -f2 | sort -u | jq -R -s -c 'split("\n")[:-1]')
|
git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^assets/' | cut -d '/' -f2 | sort -u | jq -R -s -c 'split("\n")[:-1]'
|
||||||
echo "changed=$PACKS" >> $GITHUB_OUTPUT
|
|
||||||
|
Reference in New Issue
Block a user