1
0
Fork 0
mirror of synced 2024-06-01 10:09:49 +12:00
ArchiveBox/.github/workflows/homebrew.yml
2020-11-28 05:44:37 -05:00

34 lines
717 B
YAML

name: Homebrew
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
recursive: true
fetch-depth: 1
- name: Build Homebrew Bottle
run: |
pip3 install --uprade pip setuptools wheel
cd brew_dist/
brew install --build-bottle ./archivebox.rb
brew bottle archivebox
- name: Add some links to test
run: |
mkdir data && cd data
archivebox init
archivebox add 'https://example.com'
archivebox version
archivebox status
# TODO: push bottle to Github and open homebrew core PR with latest changes