Repository navigation
Releases: asteroid-computing/actions-toolkit-go
Releases · asteroid-computing/actions-toolkit-go
Release list
v0.2.0
0.2.0 (2026-10-20)
⚠ BREAKING CHANGES
- core: core.FileCommand, core.NewSummary and core.LookupEnvFunc are removed. Use SetEnv, SetOutput, SetState or AddToPath instead of FileCommand, and core.StepSummary instead of NewSummary.
- actioncontext: actioncontext.CurrentActionContext and the package-level variables (Actor, Repository, EventName, EventPayload, ...) are removed. Call
ac, err := actioncontext.Load()and read ac's fields instead; Load returns an error when the event file cannot be read or decoded, and the context is no longer logged automatically (call core.Debug(ac.String()) for the old output).
Features
- actioncontext: load the context explicitly with Load (#5) (b8116fa)
- core: add GetIDToken for GitHub OIDC tokens (#9) (1255a09)
- core: add GetState (#8) (6d00664)
- core: add Info and Group (6d00664)
- core: add IsDebug and SetFailed (6d00664)
- core: add path conversion helpers (#11) (618e2e8)
- core: add SetCommandEcho and SetOutputJSON (618e2e8)
Bug Fixes
- core: render workflow command properties in sorted order (b8116fa)
- core: update the current process in SetEnv and AddToPath (#7) (e3c62a3)
- core: write one directory per line to GITHUB_PATH in AddToPath (e3c62a3)
Code Refactoring
- core: keep afero out of the exported API (b8116fa)