Skip to content

Commit

Permalink
修改了匹配方式
Browse files Browse the repository at this point in the history
  • Loading branch information
代军 committed Sep 12, 2024
1 parent e4b494d commit c9f3e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
# 获取上次提交与当前分支的差异
changed_files=$(git diff --name-only --diff-filter=ACMRT HEAD^ HEAD)
# 检测是否有 Go 文件被更改
changed_files_go=$(git diff --name-only --diff-filter=ACMRT HEAD^ HEAD -- '*.go')
changed_files_go=$(git diff --name-only --diff-filter=ACMRT HEAD^ HEAD -- 'go/**')
echo "发生更改的文件为:"
echo "$changed_files"
Expand Down

0 comments on commit c9f3e6a

Please sign in to comment.