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:
parent
daf0d2f123
commit
15d3348b60
6
.github/workflows/sync_translations.yml
vendored
6
.github/workflows/sync_translations.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user