Skip to content

Commit

Permalink
bugfix?
Browse files Browse the repository at this point in the history
  • Loading branch information
erjosito committed Oct 4, 2024
1 parent d3ec1a0 commit cd6a007
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/translatev2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
impacted_cl_files=()
done_something=no
clv2_file_list=${{ steps.variables.outputs.clv2_file_list }}
echo "Checking impact of changes in files ${{ steps.files.outputs.all }} to the following ${#clv2_file_list[@]} v2 checklists: ${clv2_file_list}[@]}..."
echo "Checking impact of changes in files ${{ steps.files.outputs.all }} to the following ${#clv2_file_list[@]} v2 checklists: ${clv2_file_list[@]}..."
for cl_file in "${clv2_file_list[@]}"; do
echo "Processing v2 checklist '${cl_file}'..."
cl_name=$(echo $cl_file | cut -d/ -f4 | cut -d. -f1)
Expand All @@ -71,7 +71,7 @@ jobs:
done
echo "impacted_cl_files=$impacted_cl_files" >> $GITHUB_OUTPUT
echo "done_something=$done_something" >> $GITHUB_OUTPUT
# If ALZ
# Process the impacted checklists and generate v1 versions
- name: Generate v1 JSON checklists and translate them
id: clv1
if: ${{ steps.climpact.outputs.done_something == 'yes' }}
Expand All @@ -81,7 +81,7 @@ jobs:
AZURE_TRANSLATOR_REGION: ${{ secrets.AZURE_TRANSLATOR_REGION }}
run: |
# First we put the GH variable into a local one. Doing a loop against the GH variable directly doesn't work.
cl_v2_files="${{ steps.climpact.outputs.impacted_cl_files }}"
cl_v2_files=${{ steps.climpact.outputs.impacted_cl_files }}
# We will pass the list of generated v1 checklists as an array
cl_v1_files=()
echo "Generating v1 checklists for the following v2 files: $cl_v2_files..."
Expand Down

0 comments on commit cd6a007

Please sign in to comment.