diff --git a/.github/actions/build_status.sh b/.github/actions/build_status.sh index 956e2f5b81d..1842c623bef 100755 --- a/.github/actions/build_status.sh +++ b/.github/actions/build_status.sh @@ -27,6 +27,7 @@ if [ -f "${BUILD_SUCCESS_FILE}" ]; then if [ -d packages ]; then # show built package files echo "" + echo "ARTIFACTS:" ls -gh --time-style +"%Y.%m.%d %H:%M:%S" packages/* echo "" fi diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 34fe98234d5..53dac2e4a09 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,8 +45,8 @@ jobs: if: github.event_name == 'pull_request' id: getfile_pr run: | - git diff-tree --no-commit-id --name-only -r origin/master ${{github.event.pull_request.head.sha}} | xargs - echo "::set-output name=files::$(git diff-tree --no-commit-id --name-only -r origin/master ${{github.event.pull_request.head.sha}} | xargs)" + git diff --no-commit-id --name-only -r origin/master...${{github.event.pull_request.head.sha}} | xargs + echo "::set-output name=files::$(git diff --no-commit-id --name-only -r origin/master...${{github.event.pull_request.head.sha}} | xargs)" - name: Get changed files for push if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') == false