0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00

Use crowdin API key directly vs via gzip, and as env var

This should help github maintain the masking vs previous style
This commit is contained in:
Mike Hardy 2020-08-29 15:49:37 -05:00
parent daf0d2f123
commit 15d3348b60
No known key found for this signature in database
GPG Key ID: 2FB9315A0E38FF42

View File

@ -8,6 +8,8 @@ jobs:
name: 'Sync Translations with Crowdin'
timeout-minutes: 20
runs-on: macos-latest
env:
CROWDIN_KEY: ${{ secrets.CROWDIN_API_KEY }}
steps:
- uses: actions/checkout@v2
with:
@ -30,9 +32,7 @@ jobs:
- name: Credential Prep
run: |
mkdir ~/src
echo "${{ secrets.CROWDIN_API_KEY }}" | base64 -d > ~/src/crowdin_key.txt.gz
cd ~/src
gunzip *gz
echo "${{ secrets.CROWDIN_API_KEY }}" > ~/src/crowdin_key.txt
shell: bash
- name: Push translation sources to crowdin