Bump com.android.tools.build:gradle from 8.5.1 to 8.6.0 #14
Workflow file for this run
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: Generate reverse translations | |
on: | |
pull_request: | |
jobs: | |
translate: | |
if: ${{ github.head_ref == ' l10n_crowdin_translations' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Get Pull Request Number | |
id: pr | |
run: echo "pull_request_number=$(gh pr view l10n_master --json number -q .number || echo "")" >> $GITHUB_OUTPUT | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Translate | |
id: translate | |
# we can give directory path that contains action.yaml or repo address in username/repository_name@version format | |
# in our case it would be nashmaniac/[email protected] where v1.0 is the version of action | |
# for now we will give directory path. The directory must contain action.yaml | |
uses: ./translation-validation-bot/ | |
# pass user input as arguments | |
with: | |
pr: ${{ steps.pr.outputs.pull_request_number }} | |
# Temporarily disable console output, as it can't handle <"> characters correctly | |
#- name: Display translations | |
# run: | | |
# echo "${{ steps.translate.outputs.content }}" | |
- name: Update PR description | |
uses: riskledger/update-pr-description@v2 | |
with: | |
body: ${{ steps.translate.outputs.content }} | |
token: ${{ secrets.GITHUB_TOKEN }} |