Skip to content

Commit c2e9f10

Browse files
committed
readded cleanup
1 parent aac4798 commit c2e9f10

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/pull_request.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,14 @@ jobs:
4444
with:
4545
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
4646
E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
47-
# Commented out because else we won't be hitting caches
48-
# cleanup-build-template:
49-
# uses: ./.github/workflows/cleanup_build_template.yml
50-
# needs: [build-template, js-sdk, python-sdk, performance-tests]
51-
# if: always() && !contains(needs.build-template.result, 'failure') && !contains(needs.build-template.result, 'cancelled')
52-
# secrets:
53-
# E2B_TESTS_ACCESS_TOKEN: ${{ secrets.E2B_TESTS_ACCESS_TOKEN }}
54-
# with:
55-
# E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
56-
# E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
47+
cleanup-build-template:
48+
uses: ./.github/workflows/cleanup_build_template.yml
49+
needs: [build-template, js-sdk, python-sdk, performance-tests]
50+
if: always() && !contains(needs.build-template.result, 'failure') && !contains(needs.build-template.result, 'cancelled')
51+
secrets:
52+
E2B_TESTS_ACCESS_TOKEN: ${{ secrets.E2B_TESTS_ACCESS_TOKEN }}
53+
with:
54+
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
55+
E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
5756
charts-tests:
5857
uses: ./.github/workflows/charts_tests.yml

0 commit comments

Comments
 (0)