diff --git a/.github/workflows/pr-build-test.yaml b/.github/workflows/pr-build-test.yaml index aa7d273..b0179fa 100644 --- a/.github/workflows/pr-build-test.yaml +++ b/.github/workflows/pr-build-test.yaml @@ -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 @@ -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 }}" + ) [ -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)" diff --git a/.github/workflows/push-build-latest.yaml b/.github/workflows/push-build-latest.yaml index 680a4c7..c41b5b6 100644 --- a/.github/workflows/push-build-latest.yaml +++ b/.github/workflows/push-build-latest.yaml @@ -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