Skip to content

Commit 911afaf

Browse files
authored
Define env variable in the step instead of global (#3)
1 parent 5dbf35b commit 911afaf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ on:
1414
permissions:
1515
contents: read
1616

17-
env:
18-
TC_CLOUD_TOKEN: ${{ secrets.TC_CLOUD_TOKEN }}
19-
2017
jobs:
2118
build:
2219
name: "Run checks"
@@ -25,6 +22,9 @@ jobs:
2522
- uses: actions/checkout@v3
2623
- name: Setup testcontainers-cloud
2724
uses: atomicjar/testcontainers-cloud-setup-action@main
25+
env:
26+
TC_CLOUD_TOKEN: ${{ secrets.TC_CLOUD_TOKEN }}
27+
2828
- uses: actions/setup-java@v3
2929
with:
3030
java-version: '8.0.345'

0 commit comments

Comments
 (0)