refactor(cicd): move git command out of variable to debug it
Some checks failed
Wallset Pipeline / detect-changes (pull_request) Failing after 16s

This commit is contained in:
2025-07-12 13:03:39 +02:00
parent 3f7d49e042
commit 99c58c106b

View File

@@ -18,9 +18,7 @@ jobs:
changed: ${{ steps.set.outputs.changed }}
steps:
- uses: actions/checkout@v4
- name: Detect changed packs
id: set
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]')
echo "changed=$PACKS" >> $GITHUB_OUTPUT
git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^assets/' | cut -d '/' -f2 | sort -u | jq -R -s -c 'split("\n")[:-1]'