Skip to content

sync upgrade

sync upgrade #6

Workflow file for this run

name: Upload to Crowdin
on:
push:
branches:
- "*"
jobs:
crowdin:
if: github.event.pull_request.head.repo.fork == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: npm install
- name: Build resx files
run: npm run build:resx
- name: Run Crowdin upload
env:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
run: |
if [ "${{ github.ref_name }}" = "master" ]; then
npm run crowdin:upload
else
npm run crowdin:upload:dryrun
fi