Skip to content

Commit 5fd31d2

Browse files
authored
Merge pull request #18 from Jag-Marcel/github-actions-fix
Slight fix to xcstrings conversion workflow
2 parents 06027db + 3b71e3d commit 5fd31d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/xcstrings_conversion.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 2
1719
- shell: pwsh
1820
id: check_file_changed
1921
run: |
@@ -22,7 +24,7 @@ jobs:
2224
$SourceDiff = $diff | Where-Object { $_ -match '^Scribe-i18n/' -and $_ -match '.json$' }
2325
$HasDiff = $SourceDiff.Length -gt 0
2426
25-
Write-Host "::set-output name=json_changed::$HasDiff"
27+
Write-Host "json_changed=$HasDiff >> $GITHUB_OUTPUT"
2628
2729
# Run xcstrings conversion script if needed.
2830
conditional_job:

0 commit comments

Comments
 (0)