Skip to content

18.7.5 - Use the new updated Mustache package from vapor-community #6

18.7.5 - Use the new updated Mustache package from vapor-community

18.7.5 - Use the new updated Mustache package from vapor-community #6

Workflow file for this run

name: Update Homebrew
on:
release:
types: [created]
jobs:
update-core:
runs-on: ubuntu-latest
steps:
- name: Get token
id: get-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.PENNY_APP_ID }}
private-key: ${{ secrets.PENNY_APP_PRIVATE_KEY }}
owner: vapor
- name: Add path
run: echo /home/linuxbrew/.linuxbrew/bin >>"${GITHUB_PATH}"
- name: Update Homebrew formula
env:
HOMEBREW_GITHUB_API_TOKEN: ${{ steps.get-token.outputs.token }}
RELEASE_TARBALL_URL: ${{ github.event.release.tarball_url }}
run: |
git config --global user.name 'penny-for-vapor[bot]'
git config --global user.email '${{ vars.PENNY_APP_USER_ID }}+penny-for-vapor[bot]@users.noreply.github.com'
brew tap --force homebrew/core
brew bump-formula-pr \
--no-audit \
--no-browse \
--fork-org=vapor \
--url="${RELEASE_TARBALL_URL}" \
vapor