Skip to content

Commit

Permalink
RECOMP-407: Set up action to pull new component usage data daily (#12)
Browse files Browse the repository at this point in the history
* RECOMP-407: Fix GitHub actions update workflow

* add ripgrep via cargo

* Check ripgrep version before running aggregate command

* Install compiled ripgrep 14.0.1
  • Loading branch information
TGiles authored Apr 22, 2024
1 parent 42a216d commit 6565515
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Install ripgrep
run: |
curl -L0 https://github.com/BurntSushi/ripgrep/releases/download/14.1.0/ripgrep_14.1.0-1_amd64.deb --output ripgrep_14.1.0-1_amd64.deb
sudo dpkg -i ripgrep_14.1.0-1_amd64.deb
rg -V
rg --pcre2-version
- name: Checkout main branch
uses: actions/checkout@v3
- name: Checkout gh-pages branch
Expand All @@ -31,7 +37,7 @@ jobs:
run: >
python src/arewefluentyet/aggregate.py
--mc ./gecko-dev --git --gh-pages-data gh-pages/data
-m M3 --use-current-revision
-m RC --use-current-revision
- name: Update gh-pages branch
run: |
git config user.name github-actions
Expand Down

0 comments on commit 6565515

Please sign in to comment.