Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
newhinton committed Apr 28, 2024
1 parent 805dcdc commit b28aa10
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
SIZE=$(echo "$FILE_LIST" | awk '{print NF}')
if [ "$SIZE" -ne 1 ]; then
echo "Only pass the amount of commits and one translation file! You passed: $SIZE"
exit 1
fi
TRANSLATIONS=$(./scripts/generateFilelist.sh ${{ github.event.pull_request.commits }} ${{needs.string-change-verification.outputs.files}})
echo "TRANSLATIONS=$TRANSLATIONS" >> $GITHUB_OUTPUT
Expand Down
6 changes: 0 additions & 6 deletions scripts/generateFilelist.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
#!/bin/bash


TEST="app/src/main/res/values/strings.xml scripts/checkProfanity.py"
SIZE=$(echo "$TEST" | awk '{print NF}')

echo $SIZE

if [ "$#" -ne 2 ]; then
echo "Only pass the amount of commits and one translation file!"
exit 1
Expand Down

0 comments on commit b28aa10

Please sign in to comment.