Fix incorrect syntax in environment variable setup in go.yml
- .github/workflows/go.yml - Corrected syntax for appending `CGO_ENABLED=0` to `$GITHUB_ENV`.
This commit is contained in:
2
.github/workflows/go.yml
vendored
2
.github/workflows/go.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
go-version: '1.24'
|
go-version: '1.24'
|
||||||
|
|
||||||
- name: Set env
|
- name: Set env
|
||||||
run: echo "CGO_ENABLED=0 >> $GITHUB_ENV
|
run: echo "CGO_ENABLED=0" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build -v ./...
|
run: go build -v ./...
|
||||||
|
|||||||
Reference in New Issue
Block a user