c48d4c5425
* build: simplify actions * build: add checkout * build: fix path * build: fix all paths * build: missing steps * build: update build name * build: rename action * build: add shell * build: formalize lint * build: cleanup * build: update release * build: comment workflows
27 lines
637 B
YAML
27 lines
637 B
YAML
name: Crowdin Upload
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
upload-sources:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: ./.github/actions/setup
|
|
- run: yarn i18n:extract
|
|
|
|
- name: Upload Crowdin sources
|
|
uses: crowdin/github-action@1.1.0
|
|
with:
|
|
upload_sources: true
|
|
download_translations: false
|
|
project_id: 458284
|
|
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN_SECRET }}
|
|
source: 'src/locales/en-US.po'
|
|
translation: 'src/locales/%locale%.po'
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|