Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/pr-build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ jobs:
run: |
base_commit=$(cat base_commit.txt 2>/dev/null || echo "")
echo "Last validated (base) commit to be used for build & test: $base_commit"
args=(--source-branch "origin/${{ github.head_ref }}" --target-branch "origin/${{ github.base_ref }}")
args=(
--source-branch "origin/${{ github.head_ref }}"
--target-branch "origin/${{ github.base_ref }}"
--use-docker-cache
)
[ -n "$base_commit" ] && args+=(--base-commit "$base_commit")
actor_builds=$(npx apify-test-tools build "${args[@]}")
echo "actor_builds=$actor_builds" | tee -a $GITHUB_OUTPUT
Expand All @@ -72,7 +76,10 @@ jobs:
run: |
base_commit=$(cat base_commit.txt 2>/dev/null || echo "")
echo "Old last validated (base) commit: $base_commit"
args=(--source-branch "origin/${{ github.head_ref }}" --target-branch "origin/${{ github.base_ref }}")
args=(
--source-branch "origin/${{ github.head_ref }}"
--target-branch "origin/${{ github.base_ref }}"
Comment thread
Patai5 marked this conversation as resolved.
)
[ -n "$base_commit" ] && args+=(--base-commit "$base_commit")
npx apify-test-tools get-latest-commit "${args[@]}" > ./base_commit.txt
echo "New last validated (base) commit: $(cat base_commit.txt)"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-build-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
additional-working-directory: ${{ inputs.additional-working-directory }}

- name: Release Actors and notify
run: npx apify-test-tools release --push-event-path ${{ github.event_path }} --release-slack-channel "#delivery-public-actors" --report-slack-channel "#notif-${{ github.event.repository.name }}"
run: npx apify-test-tools release --push-event-path ${{ github.event_path }} --release-slack-channel "#delivery-public-actors" --report-slack-channel "#notif-${{ github.event.repository.name }}" --use-docker-cache

- name: Delete old builds
run: npx apify-test-tools delete-old-builds