Skip to content

Commit

Permalink
Fix checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
joernott committed Mar 11, 2024
1 parent f27b857 commit d311563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prepare_shop/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ runs:
git remote add origin ${{ inputs.git_sdk_url }}
git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --filter=blob:none --depth=1 origin +refs/heads/${{ inputs.git_sdk_ref }}*:refs/remotes/origin/${{ inputs.git_sdk_ref }}* +refs/tags/${{ inputs.git_sdk_ref }}*:refs/tags/${{ inputs.git_sdk_ref }}*

Check warning on line 201 in prepare_shop/action.yml

View workflow job for this annotation

GitHub Actions / yamllint

201:161 [line-length] line too long (278 > 160 characters)

Check warning on line 201 in prepare_shop/action.yml

View workflow job for this annotation

GitHub Actions / yamllint

201:161 [line-length] line too long (278 > 160 characters)
BRANCH=$(git branch --list --remote origin/${{ inputs.git_sdk_ref }};git tag --list ${{ inputs.git_sdk_ref }})
git checkout --progress --force $(echo $BRANCH|head -1)
git checkout --progress --force $(echo $BRANCH|head -1)
${{ inputs.debug }}
- name: Clone the shop (${{ inputs.git_shop_ref }})
Expand Down

0 comments on commit d311563

Please sign in to comment.