1
0
Fork 0
mirror of synced 2024-06-27 02:20:36 +12:00
ArchiveBox/.github/workflows/homebrew.yml
2020-12-06 16:26:44 +02:00

34 lines
733 B
YAML

name: Build Homebrew package
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 1
- name: Build Homebrew Bottle
run: |
pip3 install --upgrade 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