1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:47:27 +08:00

Add cleanup step

This commit is contained in:
Dan Balasescu 2023-10-20 11:34:08 +09:00
parent 6cf0cbf3a9
commit e3bbf29333
No known key found for this signature in database

View File

@ -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 ]