diff --git a/.github/workflows/diffcalc.yml b/.github/workflows/diffcalc.yml index 11778b446b..99d8f25cc2 100644 --- a/.github/workflows/diffcalc.yml +++ b/.github/workflows/diffcalc.yml @@ -334,6 +334,14 @@ jobs: echo "Target: ${{ needs.generator.outputs.TARGET }}" echo "Spreadsheet: ${{ needs.generator.outputs.SPREADSHEET_LINK }}" + cleanup: + name: Cleanup + needs: [ directory, generator ] + if: ${{ always() }} + runs-on: self-hosted + run: | + rm -rf "${{ needs.directory.outputs.GENERATOR_DIR }}" + update-comment: name: Update PR comment needs: [ create-comment, generator ]