Skip to content

Commit c63d383

Browse files
authored
Update ci.yml
1 parent bcf80f3 commit c63d383

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

+7
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ jobs:
4545
runs-on: ${{ matrix.os }}
4646
steps:
4747
- uses: actions/checkout@v4
48+
- name: Set env
49+
if: runner.os == 'Windows'
50+
run: |
51+
echo "TITLE=foo" >> $GITHUB_ENV
4852
- uses: actions/setup-go@v5
4953
if: runner.os != 'Windows'
5054
with:
@@ -61,6 +65,9 @@ jobs:
6165
with:
6266
go-version-file: go.mod
6367
cache: true
68+
- name: echo env
69+
if: runner.os == 'Windows'
70+
run: echo "${{ env.TITLE }}"
6471
- env:
6572
CGO_ENABLED: "0"
6673
run: go test -v ./...

0 commit comments

Comments
 (0)