Skip to content

Commit

Permalink
[skip ci] Add Crowdin action (LSPosed#1091)
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 authored Sep 10, 2021
1 parent 8641aab commit 0bf6acb
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Crowdin Action

on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- app/src/main/res/values/strings.xml

jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: crowdin action
uses: crowdin/[email protected]
with:
upload_translations: false
download_translations: false
upload_sources: true
config: 'crowdin.yml'
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_API_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }}

0 comments on commit 0bf6acb

Please sign in to comment.