Skip to content

Commit ea1b1c8

Browse files
committed
fix(ci): Use env file?
1 parent 3c01ca3 commit ea1b1c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
run: go build -v ./...
2424

2525
- name: Test
26-
# env:
27-
# # GitHub sets the GITHUB_TOKEN secret automatically.
28-
# envfile: ${{ secrets.ENV_FILE }}
29-
run: echo '${{ secrets.ENV_FILE }}' | base64 --decode > .env && cat .env && go test -v ./...
26+
env:
27+
# GitHub sets the GITHUB_TOKEN secret automatically.
28+
ENV_FILE: ${{ secrets.ENV_FILE }}
29+
run: echo $ENV_FILE | base64 --decode > .env && cat .env && go test -v ./...
3030

3131

3232

0 commit comments

Comments
 (0)