Build 45cd0e6e3fec54911ccfc2d4c8df212db9038a9a #800
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Clean archive | |
| on: | |
| push: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| concurrency: | |
| group: "clean" | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Run script | |
| run: | | |
| python3 .github/clean.py | |
| - name: Push archive | |
| run: | | |
| git config --local user.email "actions@github.com" | |
| git config --local user.name "GitHub Actions" | |
| git add . | |
| git commit --amend -m "Build $GITHUB_SHA" || exit 0 # do not error if nothing to commit | |
| git push --force |