Expose go env variables as action outputs (#791)

* feature implementation - output go env

* update action.yml

* fix action.yml

---------

Co-authored-by: mahabaleshwars <147705296+mahabaleshwars@users.noreply.github.com>
This commit is contained in:
v-mahabaleshwarsandmahabaleshwars authored and GitHub committed 2026-09-18 10:05:51 -05:00
1 parent 468e940882
commit e626ada899
8 files changed
+310 -2

No files matched your search

+10 -1
View File
@@ -4,5 +4,14 @@ export enum State {
}
export enum Outputs {
CacheHit = 'cache-hit'
CacheHit = 'cache-hit',
GoPath = 'go-path',
GoBin = 'go-bin',
GoBinPath = 'go-bin-path',
GoRoot = 'go-root',
GoCache = 'go-cache',
GoModCache = 'go-mod-cache',
GoOs = 'go-os',
GoArch = 'go-arch',
GoToolDir = 'go-tool-dir'
}