Skip to content

✨ Feat(*): Update Enyo v0.1.11 #51

✨ Feat(*): Update Enyo v0.1.11

✨ Feat(*): Update Enyo v0.1.11 #51

Workflow file for this run

name: brew test-bot
on:
push:
branches:
- '*-*'
pull_request:
jobs:
test-bot:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Cache Homebrew Bundler RubyGems
id: cache
uses: actions/cache@v1
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
restore-keys: ${{ runner.os }}-rubygems-
- name: Install Homebrew Bundler RubyGems
if: steps.cache.outputs.cache-hit != 'true'
run: |
brew install-bundler-gems
brew install go
- run: brew test-bot --only-cleanup-before
- run: brew test-bot --only-setup
- run: brew test-bot --only-tap-syntax
- name: Test and Build Bottles
if: github.event_name == 'pull_request'
run: |
brew install go
brew test-bot -d --only-formulae --root-url=https://r2.virzz.bid/virzz
mkdir -p bottles
ls *.bottle.* | awk -F '--' '{print "cp "$0" ./bottles/"$1"-"$2}' | sh
- name: Upload bottles s3
uses: shallwefootball/[email protected]
with:
endpoint: ${{ secrets.AWS_ENDPOINT }}
aws_key_id: ${{ secrets.AWS_ACCESS_KEY }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_KEY }}
aws_bucket: virzz
source_dir: bottles
destination_dir: virzz/
- name: Upload bottles as artifact
if: always() && github.event_name == 'pull_request'
uses: actions/upload-artifact@main
with:
name: bottles
path: '*.bottle.*'