Skip to content

Commit

Permalink
Add the action to generate the localisation file.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Jun 10, 2022
1 parent eea8b92 commit 925c7b9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ on:
- 'osu.Game.Rulesets.Karaoke/Localisation/**'

jobs:
generate-localization-file:
name: Generate the localization file
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: dotnet restore
- name: Install the localization tools.
run: dotnet tool restore
- name: Generate the localization file
run: dotnet localisation to-resx ./osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj --output ${{github.workspace}}\crowdin

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

Expand Down

0 comments on commit 925c7b9

Please sign in to comment.