Updated entries 2025 week 49 #83
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: Housekeeping | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| housekeeping: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Workflow housekeeping | |
| uses: Mattraks/delete-workflow-runs@v2 | |
| with: | |
| retain_days: 30 | |
| keep_minimum_runs: 1 | |
| - id: fetch-latest-release | |
| name: Fetch latest release tag | |
| run: | | |
| version=$(git tag --sort=creatordate | tail -6 | head -1) | |
| echo "PREVIOUS_VERSION=$version" >> $GITHUB_OUTPUT | |
| - name: Delete outdated release assets | |
| uses: mknejp/delete-release-assets@v1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| tag: ${{ steps.fetch-latest-release.outputs.PREVIOUS_VERSION }} | |
| assets: | | |
| *.json | |
| *.zst | |
| fail-if-no-release: false | |
| fail-if-no-assets: false |