Skip to content

Commit

Permalink
ci: build changed packages for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
aidan-casey committed Sep 24, 2024
1 parent 511b64a commit 4d523e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/isolated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
coverage: none

- uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Get Packages
id: get_json
Expand Down
2 changes: 1 addition & 1 deletion bin/build-changed-packages
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $composerPackages = [];

foreach ($tempestPackages as $package) {
// Find out if there are changes in this package.
$diff = exec(sprintf('git diff --name-only HEAD -- %s', $package['directory']));
$diff = exec(sprintf('git diff --name-only HEAD^ -- %s', $package['directory']));

// If there are not any changes, move on to the next package.
if (empty($diff)) {
Expand Down

0 comments on commit 4d523e8

Please sign in to comment.