File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,11 @@ You can use [workflow commands](https://docs.github.com/en/free-pro-team@latest/
64
64
to set environment variables or add an element to `$PATH`. For example :
65
65
66
66
` ` ` yaml
67
- echo "CGO_ENABLED=0" >> $GITHUB_ENV
68
- echo "${HOME}/goroot/bin" >> $GITHUB_PATH
67
+ steps:
68
+ - name: Set env vars
69
+ run: |
70
+ echo "CGO_ENABLED=0" >> $GITHUB_ENV
71
+ echo "${HOME}/goroot/bin" >> $GITHUB_PATH
69
72
` ` `
70
73
71
74
Note that these take effect for future steps in the job.
@@ -75,7 +78,7 @@ Note that these take effect for future steps in the job.
75
78
Use [actions/cache](https://github.com/actions/cache). For example, to cache
76
79
downloaded modules :
77
80
78
- ` ` `
81
+ ` ` ` yaml
79
82
- uses: actions/cache@v2
80
83
with:
81
84
path: ~/go/pkg/mod
You can’t perform that action at this time.
0 commit comments