build: support updating chromium through CI
Adds a `update-chromium` job that runs the `.update.sh` script at the same time as the updater ever day. This automates the updates of the chromium ebuild fork I have here. As a reminder, the "fork" is just to enable widevine support on arm64, if installed on the host.
This commit is contained in:
parent
3d806daab5
commit
5e6cee4237
1 changed files with 23 additions and 0 deletions
23
.github/workflows/update.yaml
vendored
23
.github/workflows/update.yaml
vendored
|
@ -15,6 +15,29 @@ concurrency:
|
|||
group: "updater-${{ github.repository }}-${{ github.ref }}"
|
||||
|
||||
jobs:
|
||||
# Temporary job to update the www-client/chromium package until the
|
||||
# updater supports periodic jobs (if ever?)
|
||||
update-chromium:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: jdx/mise-action@v2
|
||||
with:
|
||||
experimental: true
|
||||
- name: Setup Environment
|
||||
working-directory: .tools
|
||||
run: mise run build
|
||||
- name: Sync chromium with upstream
|
||||
working-directory: www-client/chromium
|
||||
run: ./.update.sh
|
||||
- uses: jaredallard/ghcommit-action@v0.1.7
|
||||
if: github.event_name != 'pull_request'
|
||||
with:
|
||||
commit_message: "chore: update dependencies"
|
||||
repo: ${{ github.repository }}
|
||||
branch: "main"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
updater:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
Loading…
Add table
Reference in a new issue