Red 3.5.8 - Changelog (#6338) #716
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Crowdin - Upload strings | |
on: | |
push: | |
branches: | |
- V3/develop | |
jobs: | |
deploy: | |
if: github.repository == 'Cog-Creators/Red-DiscordBot' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
curl https://artifacts.crowdin.com/repo/GPG-KEY-crowdin | sudo apt-key add - | |
echo "deb https://artifacts.crowdin.com/repo/deb/ /" | sudo tee -a /etc/apt/sources.list | |
sudo apt-get update -qq | |
sudo apt-get install -y crowdin3 | |
pip install redgettext==3.4.2 | |
- name: Generate source files | |
run: | | |
make gettext | |
- name: Upload source files | |
run: | | |
make upload_translations | |
env: | |
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} | |
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_IDENTIFIER }} |