https://github.com/mozilla-mobile/sync-strings-action
Sync Strings GitHub Action
https://github.com/mozilla-mobile/sync-strings-action
Last synced: about 1 year ago
JSON representation
Sync Strings GitHub Action
- Host: GitHub
- URL: https://github.com/mozilla-mobile/sync-strings-action
- Owner: mozilla-mobile
- Created: 2021-04-09T17:26:46.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-02T19:23:58.000Z (over 3 years ago)
- Last Synced: 2025-03-25T16:51:38.317Z (about 1 year ago)
- Language: Python
- Size: 24.4 KB
- Stars: 3
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sync Strings GitHub Action
This GitHub Action syncs strings between two checked out copies of an Android project. It requires that these projects have a a `l10n.toml` project configuration.
Example usage in a _GitHub Workflow_ file:
```
- name: Checkout main branch
uses: actions/checkout@v3
with:
path: main
ref: main
- name: Checkout beta branch
uses: actions/checkout@v3
with:
path: beta
ref: releases_v88.0.0
- name: Sync strings
uses: mozilla-mobile/sync-strings-action@main
with:
toml_path: android-components/l10n.toml
src: main
dest: beta
```
This action will copy individual `strings.xml` files from `src` to `dest`. Adding and committing them to the repository would be the responsibility of another step in the workflow.