Skip to content

Commit b182745

Browse files
committed
validate-apis: Fix branch condition
1 parent 6769a2d commit b182745

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/validate-apis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,11 @@ jobs:
7171
- name: Download artifacts
7272
working-directory: ./clients-flight-recorder
7373
run: |
74-
if [[ -n "${GITHUB_BASE_REF+x}" ]]; then
74+
if [[ -n "${GITHUB_BASE_REF:-}" ]]; then
7575
branch=$GITHUB_BASE_REF
7676
else
7777
branch=$GITHUB_REF_NAME
7878
fi
79-
env
8079
echo "Using branch: $branch"
8180
node scripts/upload-recording/download.js --branch $branch --git
8281
node scripts/clone-elasticsearch/index.js --branch $branch

0 commit comments

Comments
 (0)