Skip to content

Commit

Permalink
feat(#217): Fix env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
rm3l committed Mar 6, 2021
1 parent b5125d6 commit 4a2bc80
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,15 @@ jobs:
- name: Prepare scripts
run: chmod +x tools/import-translations-github.sh

- name: "Set environmental variables"
run: |
echo "CIRCLE_BUILD_NUM=$GITHUB_RUN_ID/$GITHUB_RUN_NUMBER" >> $GITHUB_ENV
echo "CIRCLE_SHA1=$GITHUB_SHA" >> $GITHUB_ENV
- name: Import translations from Crowdin if needed
run: ./tools/import-translations-github.sh
env:
# import-translations-github.sh script is currently tied to Travis CI
CIRCLE_PULL_REQUEST: ''
CIRCLE_BUILD_NUM: "${{ GITHUB_RUN_ID }}/${{ GITHUB_RUN_NUMBER }}"
CIRCLE_SHA1: "${{ GITHUB_SHA }}"
GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}

0 comments on commit 4a2bc80

Please sign in to comment.