workflows: set up tap and test-bot changes

master
Jonathan Chang 2020-03-22 00:05:56 +11:00
parent 1975b561eb
commit 7f7942785a
1 changed files with 9 additions and 2 deletions

View File

@ -32,14 +32,21 @@ jobs:
pr: ${{github.event.client_payload.pull_request}} pr: ${{github.event.client_payload.pull_request}}
name: bottles name: bottles
path: bottles path: bottles
- name: Checkout tap
uses: actions/checkout@v2
- name: Setup tap
run: |
rm -rf $(brew --repository ${{github.repository}})
ln -s $GITHUB_WORKSPACE $(brew --repository ${{github.repository}})
- name: Upload bottles - name: Upload bottles
env: env:
HOMEBREW_BINTRAY_USER: brewtestbot HOMEBREW_BINTRAY_USER: brewtestbot
HOMEBREW_BINTRAY_KEY: ${{ secrets.HOMEBREW_BINTRAY_KEY }} HOMEBREW_BINTRAY_KEY: ${{ secrets.HOMEBREW_BINTRAY_KEY }}
run: | run: |
cd bottles cd bottles
brew update-reset # TODO: Remove once this pull request is merged.
brew test-bot --ci-upload git -C $(brew --repo homebrew/test-bot) fetch origin pull/344/merge:pr-334
git -C $(brew --repo homebrew/test-bot) checkout pr-334
brew test-bot --ci-upload --publish brew test-bot --ci-upload --publish
- name: Push bottle commit - name: Push bottle commit
env: env: