This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
⬆️ Bump uBlock #236
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Addon updates | |
on: | |
workflow_dispatch: | |
push: | |
branches: [alpha, beta, stable] | |
jobs: | |
generate: | |
name: Generate Addon Update Manifests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Setup Gluon | |
run: yarn | |
- name: Load config | |
run: yarn gluon ci --brand ${GITHUB_REF##*/} | |
- name: Generate update manifest | |
run: yarn gluon updates-addons | |
- name: Checkout tools repo | |
uses: actions/checkout@v3 | |
with: | |
repository: pulse-browser/updates | |
path: updates | |
token: ${{ secrets.ROBOT_TOKEN }} | |
- name: Copy update manifests | |
run: | | |
mkdir -p updates/browser | |
cp -a dist/update/. updates/ | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: 🔖 Upload update addon manifests | |
commit_user_name: Fushra Robot | |
commit_user_email: [email protected] | |
repository: ./updates |