diff --git a/.github/workflows/update_homebrew.yml b/.github/workflows/update_homebrew.yml new file mode 100644 index 00000000..4c0af9b9 --- /dev/null +++ b/.github/workflows/update_homebrew.yml @@ -0,0 +1,23 @@ +name: Publish to AUR + +on: + # workflow_run: + # workflows: ["Check SemVer compliance"] + # types: + # - completed + push: + tags: + - "v*" + +jobs: + aur-publish: + runs-on: ubuntu-latest + steps: + - name: Bump formulae + uses: Homebrew/actions/bump-formulae@master + with: + # Custom GitHub access token with only the 'public_repo' scope enabled + token: ${{secrets.HOMEBREW_ACCESS_TOKEN}} + # Bump only these formulae if outdated + formulae: | + topgrade