-
Notifications
You must be signed in to change notification settings - Fork 214
42 lines (35 loc) · 1003 Bytes
/
crowdin-upload.yml
File metadata and controls
42 lines (35 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Upload source files to Crowdin
on:
push:
branches: [ master ]
paths:
- 'manual/nitrofiles/languages/en/**'
- 'quickmenu/nitrofiles/languages/en/**'
- 'romsel_dsimenutheme/nitrofiles/languages/en/*'
- 'settings/nitrofiles/languages/en/*'
- 'title/nitrofiles/languages/en/*'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: devkitpro/devkitarm:20241104
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
- name: Setup environment
run: git config --global safe.directory '*'
- name: Install tools
run: |
sudo apt-get update
sudo apt-get install python -y
- name: Build test
run: |
make package
- name: Push to Crowdin
uses: crowdin/github-action@v2
with:
upload_sources: true
env:
CROWDIN_TOKEN: ${{ secrets.CROWDIN_TOKEN }}