Pārlūkot izejas kodu

string comparison for output variable

CPK 7 mēneši atpakaļ
vecāks
revīzija
4dff387a01
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      .github/workflows/localization.yml

+ 2 - 2
.github/workflows/localization.yml

@@ -40,7 +40,7 @@ jobs:
     runs-on: ubuntu-latest
     needs: compare-upload
     environment: poeditor
-    if: needs.compare-upload.outputs.hasChanges
+    if: ${{ needs.compare-upload.outputs.hasChanges == 'true' }}
     steps:
       - name: Checkout
         uses: actions/[email protected]
@@ -64,7 +64,7 @@ jobs:
           POEDITOR_API_KEY: ${{ secrets.POEDITORKEY }}
           POEDITOR_PROJECT_ID: ${{ secrets.POEDITORPROJECT }}
       - name: Create branch
-        if: steps.download-languages.outputs.HAS_CHANGES
+        if: ${{ steps.download-languages.outputs.hasChanges == 'true' }}
         run: git checkout -B "language-update-${{ github.run_number }}-${{ github.run_attempt }}"
       - name: Add changes and commit
         run: |