File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -34,16 +34,15 @@ jobs:
34
34
- name : Get latest go patch version
35
35
id : patch-version
36
36
run : |
37
- export GO_PATCH_VERSION=$(curl --silent https://go.dev/VERSION?m=text)
38
- sed -i 's/GO_VERSION=[0-9\.]*/GO_VERSION=$GO_PATCH_VERSION/' Makefile
39
- sed -i 's/golang:[0-9\.]*/golang:$GO_PATCH_VERSION/' Tiltfile
37
+ export "GO_PATCH_VERSION=$(curl --silent https://go.dev/VERSION?m=text)" >> $GITHUB_ENV
38
+ sed -i 's/GO_VERSION=[0-9\.]*/GO_VERSION=${{ env.GO_PATCH_VERSION }}/' Makefile
39
+ sed -i 's/golang:[0-9\.]*/golang:${{ env.GO_PATCH_VERSION }}/' Tiltfile
40
+ echo $env.GO_PATCH_VERSION
40
41
- name : Create Pull Request
41
42
uses : peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # tag=v7.0.5
42
43
with :
43
- commit-message : Bump to Go ${GO_PATCH_VERSION}
44
- title : " Bump to Go patch version ${GO_PATCH_VERSION}"
44
+ commit-message : Bump to Go ${{ env. GO_PATCH_VERSION } }
45
+ title : " Bump to Go patch version ${{ env. GO_PATCH_VERSION } }"
45
46
body : |
46
47
This PR promotes current GO version to the latest patch version of ${GO_PATCH_VERSION}
47
- branch : promote-go-patch-version-${{ GO_PATCH_VERSION }}
48
-
49
-
48
+ branch : promote-go-patch-version-${{ env.GO_PATCH_VERSION }}
You can’t perform that action at this time.
0 commit comments