ArchiveBox/.github/workflows/homebrew.yml

34 lines
735 B
YAML
Raw Normal View History

name: Build Homebrew package
2020-11-28 05:44:37 -05:00
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
2020-11-28 05:48:45 -05:00
submodules: true
2020-11-28 05:44:37 -05:00
fetch-depth: 1
- name: Build Homebrew Bottle
run: |
2020-11-28 06:00:49 -05:00
pip3 install --upgrade pip setuptools wheel
2020-11-28 05:44:37 -05:00
cd brew_dist/
brew install --build-bottle ./archivebox.rb
2020-12-11 11:35:25 -05:00
# brew bottle archivebox
2020-11-28 05:44:37 -05:00
- 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