Skip to content

Commit bd82333

Browse files
authored
chore: use github.ref to point to branch to test (#185)
1 parent 727af6d commit bd82333

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ on:
2020
description: The branch of the SDK to test
2121
required: false
2222
base_repo:
23-
type: boolean
23+
type: string
2424
description: Explictly define the repository to test
2525
required: false
2626

2727
env:
28-
SDK_BRANCH: ${{ inputs.sdk_branch || github.head_ref || github.ref_name }}
28+
SDK_BRANCH: ${{ inputs.sdk_branch || github.ref || github.head_ref || github.ref_name }}
2929
TEST_DATA_BRANCH: ${{ inputs.test_data_branch || 'main' }}
3030

3131
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.OSSRH_USERNAME }}

0 commit comments

Comments
 (0)