From 3b71e3d527fe58fb5acf93e77e71393ebb65ebf4 Mon Sep 17 00:00:00 2001 From: Marcel <63468878+Jag-Marcel@users.noreply.github.com> Date: Thu, 13 Jun 2024 16:01:27 +0200 Subject: [PATCH] Slight fix to xcstrings conversion workflow --- .github/workflows/xcstrings_conversion.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/xcstrings_conversion.yml b/.github/workflows/xcstrings_conversion.yml index 11af904..0fad0e5 100644 --- a/.github/workflows/xcstrings_conversion.yml +++ b/.github/workflows/xcstrings_conversion.yml @@ -14,6 +14,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 2 - shell: pwsh id: check_file_changed run: | @@ -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: