Skip to content

Commit

Permalink
oop
Browse files Browse the repository at this point in the history
  • Loading branch information
saboooor committed Dec 18, 2023
1 parent 475d57d commit 6f97011
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 16 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/crowdin-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'publish'
on:
push:
branches:
- dev

jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: crowdin-action
uses: crowdin/github-action@v1.15.2
with:
upload_sources: true
upload_translations: false
download_translations: true
localization_branch_name: l10n_dev
create_pull_request: true
pull_request_title: 'New Crowdin Translations'
pull_request_body: 'New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)'
pull_request_base_branch_name: 'dev'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
16 changes: 0 additions & 16 deletions .github/workflows/main.yml → .github/workflows/tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: crowdin-action
uses: crowdin/github-action@v1.15.2
with:
upload_sources: true
upload_translations: false
download_translations: true
localization_branch_name: l10n_dev
create_pull_request: true
pull_request_title: 'New Crowdin Translations'
pull_request_body: 'New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)'
pull_request_base_branch_name: 'dev'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

- run: corepack enable

- name: Install Node.js
Expand Down

0 comments on commit 6f97011

Please sign in to comment.