Skip to content

Commit

Permalink
Merge pull request #18 from Jag-Marcel/github-actions-fix
Browse files Browse the repository at this point in the history
Slight fix to xcstrings conversion workflow
  • Loading branch information
andrewtavis authored Jun 13, 2024
2 parents 06027db + 3b71e3d commit 5fd31d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/xcstrings_conversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- shell: pwsh
id: check_file_changed
run: |
Expand All @@ -22,7 +24,7 @@ jobs:
$SourceDiff = $diff | Where-Object { $_ -match '^Scribe-i18n/' -and $_ -match '.json$' }
$HasDiff = $SourceDiff.Length -gt 0
Write-Host "::set-output name=json_changed::$HasDiff"
Write-Host "json_changed=$HasDiff >> $GITHUB_OUTPUT"
# Run xcstrings conversion script if needed.
conditional_job:
Expand Down

0 comments on commit 5fd31d2

Please sign in to comment.