diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7f14b105..04ad1b4ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -211,6 +211,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Prepare repo (clear out old and obsolete fonts) + run: | + cd -- "$GITHUB_WORKSPACE/patched-fonts" + find . -name "*.[to]tf" -exec rm {} \; + - name: Download patched fonts from build id: download-patched-fonts uses: actions/download-artifact@v2 @@ -218,9 +223,9 @@ jobs: name: patched-fonts path: . - - uses: EndBug/add-and-commit@v7 + - uses: EndBug/add-and-commit@v9 with: add: 'patched-fonts' message: Rebuilds patched fonts committer_name: GitHub Actions - committer_email: 41898282+github-actions[bot]@users.noreply.github.com \ No newline at end of file + committer_email: 41898282+github-actions[bot]@users.noreply.github.com