From 274e4b9b602ba6d8928feac118b8b54248a37b29 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Wed, 8 Jan 2025 10:32:42 +0800 Subject: [PATCH] ci: git diff ouputs nothing? --- .github/workflows/upload-merged-plugin.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/upload-merged-plugin.yaml b/.github/workflows/upload-merged-plugin.yaml index eacda97..b0833c9 100644 --- a/.github/workflows/upload-merged-plugin.yaml +++ b/.github/workflows/upload-merged-plugin.yaml @@ -52,6 +52,7 @@ jobs: run: | git log -10 CHANGED_FILES=$(git diff --name-only ${{ github.sha }} | jq -R -s -c 'split("\n")[:-1] | map({path: .})') + git diff --name-only ${{ github.sha }} echo "CHANGED_FILES=$CHANGED_FILES" >> $GITHUB_ENV echo "CHANGED_FILES=$CHANGED_FILES"