Skip to content

Upload source files to Crowdin #1

Upload source files to Crowdin

Upload source files to Crowdin #1

name: Upload source files to Crowdin
on:
push:
branches: [ master ]
paths:
- 'romfs/lang/en/**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: devkitpro/devkitarm
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
- name: Setup environment
run: git config --global safe.directory '*'
- name: Install tools
run: |
curl -L https://github.com/Epicpkmn11/bannertool/releases/latest/download/bannertool.zip -o bannertool.zip
unzip bannertool.zip linux-x86_64/bannertool
chmod +x linux-x86_64/bannertool
mv linux-x86_64/bannertool /usr/local/bin
rm -rf bannertool.zip linux-x86_64
curl -L https://github.com/3DSGuy/Project_CTR/releases/download/makerom-v0.17/makerom-v0.17-ubuntu_x86_64.zip -o makerom-v0.17-ubuntu_x86_64.zip
unzip makerom-v0.17-ubuntu_x86_64.zip
chmod +x makerom
mv makerom /usr/local/bin
rm makerom-v0.17-ubuntu_x86_64.zip
- name: Build test
run: |
make
- name: Push to Crowdin
uses: crowdin/github-action@v2
with:
upload_sources: true
env:
CROWDIN_TOKEN: ${{ secrets.CROWDIN_TOKEN }}
UU_CROWDIN_ID: ${{ secrets.UU_CROWDIN_ID }}