mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
23 lines
657 B
YAML
23 lines
657 B
YAML
name: Generate Repology JSON
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *' # Every day at midnight
|
|
jobs:
|
|
generate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Generate JSON
|
|
run: |
|
|
sudo docker pull satmandu/crewbuild:amd64
|
|
sudo docker run -t -v $(pwd):/usr/local/json satmandu/crewbuild:amd64 sudo -i -u chronos /bin/bash -c "
|
|
crew update &&
|
|
ruby ../tools/json.rb &&
|
|
cp repology.json /usr/local/json"
|
|
- name: Upload JSON arifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: repology-json
|
|
path: repology.json
|