1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 02:09:52 +08:00

Add cleanup step

This commit is contained in:
Dan Balasescu
2023-10-20 11:34:08 +09:00
Unverified
parent 6cf0cbf3a9
commit e3bbf29333
+8
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 ]