Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the conditions for file changes that trigger workflows for github #1122

Closed
empiredan opened this issue Aug 16, 2022 · 0 comments
Closed
Labels
type/bug This issue reports a bug.

Comments

@empiredan
Copy link
Contributor

While only doc files such as LICENSE or NOTICE are changed and committed, cpp workflows for github will report error as follows (see https://github.com/apache/incubator-pegasus/runs/7854426641?check_suite_focus=true):

Run rm -rf thirdparty
  rm -rf thirdparty
  tar -zcvhf release__builder.tar DSN_ROOT/ src/builder/bin src/builder/src/server/test/config.ini  --exclude='*CMakeFiles*'
  shell: sh -e {0}
tar: DSN_ROOT: Cannot stat: No such file or directory
tar: src/builder/bin: Cannot stat: No such file or directory
tar: src/builder/src/server/test/config.ini: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Error: Process completed with exit code [2](https://github.com/apache/incubator-pegasus/runs/7854426137?check_suite_focus=true#step:11:2).

The binaries are not built since there is not any source file changed. However, since the binaries are used to be build packages which will be uploaded as artifacts, it will report "No such file or directory".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug This issue reports a bug.
Projects
None yet
Development

No branches or pull requests

1 participant