Commit bfdbedb
fix(ci): Correct release creation and skip PR tests (#3)
The `gh release create` command was failing with a "fatal: not a git repository" error because it was running in the root workspace directory instead of the `bc-java` subdirectory where the repository is checked out.
This commit fixes the issue by adding `working-directory: bc-java` to the release creation step.
Additionally, as requested, tests are now skipped for pull request builds by adding the `-x test` flag to the Gradle command.
Co-authored-by: jiacontrerasp <[email protected]>
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent a62a397 commit bfdbedb
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
| 78 | + | |
0 commit comments