mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-25 15:08:12 +08:00
19500a8cd9
Use fully qualified R classes Fix or ignore deprecation Update github actions and ensure JDK 17 is used Add group for paparazzi Fixes Lint issues Fix Jacoco configuration
61 lines
1.8 KiB
YAML
61 lines
1.8 KiB
YAML
name: Sync Data From External Sources
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
# At 00:00 on every Monday UTC
|
|
- cron: '0 0 * * 1'
|
|
|
|
jobs:
|
|
sync-emojis:
|
|
runs-on: ubuntu-latest
|
|
# Skip in forks
|
|
if: github.repository == 'element-hq/element-android'
|
|
# No concurrency required, runs every time on a schedule.
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python 3.8
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 3.8
|
|
- name: Install Prerequisite dependencies
|
|
run: |
|
|
pip install BeautifulSoup4
|
|
pip install requests
|
|
- name: Run Emoji script
|
|
run: ./tools/import_emojis.py
|
|
- name: Create Pull Request for Emojis
|
|
uses: peter-evans/create-pull-request@v5
|
|
with:
|
|
commit-message: Sync Emojis
|
|
title: Sync Emojis
|
|
body: |
|
|
- Update Emojis from Unicode.org
|
|
branch: sync-emojis
|
|
base: develop
|
|
|
|
sync-sas-strings:
|
|
runs-on: ubuntu-latest
|
|
# Skip in forks
|
|
if: github.repository == 'element-hq/element-android'
|
|
# No concurrency required, runs every time on a schedule.
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python 3.8
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 3.8
|
|
- name: Install Prerequisite dependencies
|
|
run: |
|
|
pip install requests
|
|
- name: Run SAS String script
|
|
run: ./tools/import_sas_strings.py
|
|
- name: Create Pull Request for SAS Strings
|
|
uses: peter-evans/create-pull-request@v5
|
|
with:
|
|
commit-message: Sync SAS Strings
|
|
title: Sync SAS Strings
|
|
body: |
|
|
- Update SAS Strings from matrix-doc.
|
|
branch: sync-sas-strings
|
|
base: develop
|