Skip to content

Commit

Permalink
Remove un-need params.
Browse files Browse the repository at this point in the history
Because should only upload the source.
  • Loading branch information
andy840119 committed Jun 10, 2022
1 parent 9d1cb58 commit a9a6466
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,14 @@ jobs:
# see the document in the https://support.crowdin.com/configuration-file/?q=dest
upload_sources: true
upload_sources_args: '--dest master/osu.Game.Rulesets.Karaoke.Resources/Localisation/%file_name%.%file_extension%'
# there's no translation can be uploaded in this repo.
upload_translations: false
download_translations: false
# it should be like that but seems the crowdin has the problem on parsing the path.
# source: ${{github.workspace}}/crowdin/*.resx
source: crowdin/*.resx
# there's no translation can be uploaded in this repo, but we still need to give it a value.
translation: crowdin/%file_name%.%locale%.%file_extension%
# This is a numeric id, not to be confused with Crowdin API v1 "project identifier" string
# This is a numeric id, not to be confused with Crowdin API v1 "project identifier" string.
# See "API v2" on https://crowdin.com/project/<your-project>/settings#api
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
# A personal access token, not to be confused with Crowdin API v1 "API key"
# See https://crowdin.com/settings#api-key to generate a token
# A personal access token, not to be confused with Crowdin API v1 "API key".
# See https://crowdin.com/settings#api-key to generate a token.
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit a9a6466

Please sign in to comment.