Skip to content

Change: avr-gcc@14 formula to use avr-libc 2.2.1 #74

Change: avr-gcc@14 formula to use avr-libc 2.2.1

Change: avr-gcc@14 formula to use avr-libc 2.2.1 #74

Workflow file for this run

name: brew pr-pull
on:
pull_request_target:
types:
- labeled
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.OSX_CROSS_AVR_HOMEBREW_GITHUB_API_TOKEN }}
PULL_REQUEST: ${{ github.event.pull_request.number }}
BRANCH: ${{ github.event.pull_request.head.ref }}
jobs:
pr-pull:
if: contains(github.event.pull_request.labels.*.name, 'pr-pull')
runs-on: macos-latest
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Set up git
run: |
git config --global user.name "osxCrossTestBot"
git config --global user.email "[email protected]"
- name: Pull bottles
run: brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST"
- name: Push commits
uses: Homebrew/actions/git-try-push@master
with:
token: ${{ secrets.OSX_CROSS_AVR_HOMEBREW_GITHUB_API_TOKEN }}
branch: main
- name: Delete branch
if: github.event.pull_request.head.repo.fork == false
run: git push --delete origin "$BRANCH"