3636 needs : check-go-eol
3737 runs-on : ubuntu-slim
3838 env :
39- officialLatestVersion : ${{ needs.check-go-eol.outputs.latest }}
40- officialPenultimateVersion : ${{ needs.check-go-eol.outputs.penultimate }}
39+ OFFICIAL_LATEST_VERSION : ${{ needs.check-go-eol.outputs.latest }}
40+ OFFICIAL_PENULTIMATE_VERSION : ${{ needs.check-go-eol.outputs.penultimate }}
4141 steps :
4242 - uses : actions/checkout@v6
4343 with :
@@ -48,11 +48,11 @@ jobs:
4848 run : cat ./.github/variables/go-versions.env > $GITHUB_OUTPUT
4949
5050 - name : Update go-versions.env and README.md
51- if : steps.go-versions.outputs.latest != env.officialLatestVersion
51+ if : steps.go-versions.outputs.latest != env.OFFICIAL_LATEST_VERSION
5252 id : update-go-versions
5353 run : |
54- sed -i -e "s#latest=[^ ]*#latest=${{ env.officialLatestVersion } }#g" \
55- -e "s#penultimate=[^ ]*#penultimate=${{ env.officialPenultimateVersion } }#g" \
54+ sed -i -e "s#latest=[^ ]*#latest=${OFFICIAL_LATEST_VERSION }#g" \
55+ -e "s#penultimate=[^ ]*#penultimate=${OFFICIAL_PENULTIMATE_VERSION }#g" \
5656 ./.github/variables/go-versions.env
5757
5858 - name : Create GitHub token
@@ -69,11 +69,11 @@ jobs:
6969 token : ${{ steps.github-token.outputs.token }}
7070 add-paths : |
7171 .github/variables/go-versions.env
72- branch : " launchdarklyreleasebot/update-to-go${{ env.officialLatestVersion }}-${{ matrix.branch }}"
72+ branch : " launchdarklyreleasebot/update-to-go${{ env.OFFICIAL_LATEST_VERSION }}-${{ matrix.branch }}"
7373 author : " LaunchDarklyReleaseBot <LaunchDarklyReleaseBot@launchdarkly.com>"
7474 committer : " LaunchDarklyReleaseBot <LaunchDarklyReleaseBot@launchdarkly.com>"
7575 labels : ${{ matrix.branch }}
76- title : " fix(deps): bump supported Go versions to ${{ env.officialLatestVersion }} and ${{ env.officialPenultimateVersion }}"
77- commit-message : " Bumps from Go ${{ steps.go-versions.outputs.latest }} -> ${{ env.officialLatestVersion }} and ${{ steps.go-versions.outputs.penultimate }} -> ${{ env.officialPenultimateVersion }}."
76+ title : " fix(deps): bump supported Go versions to ${{ env.OFFICIAL_LATEST_VERSION }} and ${{ env.OFFICIAL_PENULTIMATE_VERSION }}"
77+ commit-message : " Bumps from Go ${{ steps.go-versions.outputs.latest }} -> ${{ env.OFFICIAL_LATEST_VERSION }} and ${{ steps.go-versions.outputs.penultimate }} -> ${{ env.OFFICIAL_PENULTIMATE_VERSION }}."
7878 body : |
7979 - [ ] I have triggered CI on this PR (either close & reopen this PR in Github UI, or `git commit -m "run ci" --allow-empty && git push`)
0 commit comments