Skip to content

Commit f54ef48

Browse files
committed
env scope is not available inside uses job
1 parent ec1482f commit f54ef48

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/test-sdks.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Test SDKs Locally
22

3-
env:
4-
TEST_DATA_BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
5-
63
on:
74
pull_request:
85

@@ -85,7 +82,7 @@ jobs:
8582
test-node-server-sdk:
8683
uses: Eppo-exp/node-server-sdk/.github/workflows/lint-test-sdk.yml@tp/workflows/remote
8784
with:
88-
test_data_branch: ${{ env.TEST_DATA_BRANCH_NAME }}
85+
test_data_branch: ${{ github.head_ref || github.ref_name }}
8986
sdk_branch: main
9087

9188
test-node-client-sdk:
@@ -151,7 +148,7 @@ jobs:
151148
test-php-sdk:
152149
uses: Eppo-exp/php-sdk/.github/workflows/run-tests.yml@tp/workflows/remote
153150
with:
154-
test_data_branch: ${{ env.TEST_DATA_BRANCH_NAME }}
151+
test_data_branch: ${{ github.head_ref || github.ref_name }}
155152
sdk_branch: main
156153

157154
test-ruby-sdk:
@@ -210,5 +207,5 @@ jobs:
210207
test-dotnet-sdk:
211208
uses: Eppo-exp/dot-net-server-sdk/.github/workflows/run-tests.yml@tp/workflows/remote
212209
with:
213-
test_data_branch: ${{ env.TEST_DATA_BRANCH_NAME }}
210+
test_data_branch: ${{ github.head_ref || github.ref_name }}
214211
sdk_branch: main

0 commit comments

Comments
 (0)