Skip to content

Commit 790a062

Browse files
authored
Fix server suffix selection (#1325)
1 parent da9f1e3 commit 790a062

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
- id: step1
4444
name: Define server branch suffix to use
4545
run: |
46-
if [[ ${{ github.event_name == 'push' }} ]]; then
46+
if ${{ github.event_name == 'push' }}; then
4747
echo "suffix=" >> "$GITHUB_OUTPUT"
48-
elif [[ ${{ github.event_name == 'workflow_dispatch' }} ]]; then
48+
elif ${{ github.event_name == 'workflow_dispatch' }}; then
4949
echo "suffix=${{ github.event.inputs.standalone_branch_suffix }}" >> "$GITHUB_OUTPUT"
50-
elif [[ ${{ github.event_name == 'pull_request' }} ]]; then
50+
elif ${{ github.event_name == 'pull_request' }}; then
5151
# If the PR is server-sync then extract suffix from branch name
5252
sub='maint/update_code_for_'
5353
if [[ "${{ github.head_ref }}" == *"$sub"* ]]; then

0 commit comments

Comments
 (0)