Skip to content

Commit

Permalink
fix(gradle-library): attempt to fix condition for fetch depth
Browse files Browse the repository at this point in the history
  • Loading branch information
stempler authored Apr 25, 2024
1 parent 9f9eb56 commit 602fcf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gradle-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
# (because the @semantic-release/git attempts to use them but needs permissions to bypass protection)
persist-credentials: false
# fetch-depth 0 is required to fetch all tags (and to determine the version based on tags)
fetch-depth: ${{ inputs.publish-tasks != '' && 0 || 1 }}
fetch-depth: ${{ inputs.publish-tasks != '' && '0' || '1' }}

#
# Build, test and create Docker image
Expand Down

0 comments on commit 602fcf2

Please sign in to comment.