bvolpato commented on code in PR #40777:
URL: https://github.com/apache/beam/pull/40777#discussion_r4425823148


##########
.github/actions/setup-environment-action/action.yml:
##########
@@ -104,4 +104,4 @@ runs:
       uses: actions/setup-go@v6
       with:
         go-version: ${{ inputs.go-version == 'default' && '1.26' || 
inputs.go-version }} # never set patch, to get latest patch releases.
-        cache-dependency-path: $${{ inputs.disable-cache && '' || 
'sdks/go.sum' }}
+        cache-dependency-path: sdks/go.sum

Review Comment:
   Added the opt-out through setup-go's `cache` input in e20963a7dbe. 
`disable-cache: true` now disables Go caching along with Gradle caching, while 
the default keeps Go caching enabled with `sdks/go.sum` as the dependency path. 
I updated the input description and PR description to match.
   
   Validated the actual YAML expression with GitHub's `@actions/expressions` 
evaluator for true, false, empty, and unset inputs. Hosted cache restoration 
still needs confirmation.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to