7rikazhexde/JSON to Variables Setter

Parse JSON file and set GitHub Actions outputs

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 10, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: 7rikazhexde/json2vars-setter@276833ee67cf42943cf599d2b29f775f4d33694f # v1.13.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
json-filePath to the JSON fileyes.github/json2vars-setter/matrix.json
update-matrixWhether to dynamically update the matrix before parsingnofalse
update-strategyDefault update strategy for all languages (stable, latest, or both)no
python-strategyUpdate strategy for Python versions (stable, latest, or both)no
nodejs-strategyUpdate strategy for Node.js versions (stable, latest, or both)no
ruby-strategyUpdate strategy for Ruby versions (stable, latest, or both)no
go-strategyUpdate strategy for Go versions (stable, latest, or both)no
rust-strategyUpdate strategy for Rust versions (stable, latest, or both)no
php-strategyUpdate strategy for PHP versions (stable, latest, or both)no
dotnet-strategyUpdate strategy for .NET (C#) versions (stable, latest, or both)no
java-strategyUpdate strategy for Java versions (stable, latest, or both)no
deno-strategyUpdate strategy for Deno versions (stable, latest, or both)no
bun-strategyUpdate strategy for Bun versions (stable, latest, or both)no
zig-strategyUpdate strategy for Zig versions (stable, latest, or both)no
elixir-strategyUpdate strategy for Elixir versions (stable, latest, or both)no
dart-strategyUpdate strategy for Dart versions (stable, latest, or both)no
swift-strategyUpdate strategy for Swift versions (stable, latest, or both)no
julia-strategyUpdate strategy for Julia versions (stable, latest, or both)no
crystal-strategyUpdate strategy for Crystal versions (stable, latest, or both)no
haskell-strategyUpdate strategy for Haskell (GHC) versions (stable, latest, or both)no
ocaml-strategyUpdate strategy for OCaml versions (stable, latest, or both)no
kotlin-strategyUpdate strategy for Kotlin versions (stable, latest, or both)no
clang-strategyUpdate strategy for Clang/LLVM versions (stable, latest, or both)no
gcc-strategyUpdate strategy for GCC versions (stable, latest, or both)no
flutter-strategyUpdate strategy for Flutter versions (stable, latest, or both)no
dry-runRun in dry-run mode without updating the JSON filenofalse
use-cacheWhether to use cached version informationnofalse
cache-languagesLanguages to include in cache operations (comma-separated)noall
force-cache-updateForce cache update even if it is freshnofalse
cache-max-ageMaximum age of cache in days before updateno1
cache-countNumber of versions to fetch per languageno10
output-countNumber of versions to include in output template. This allows you to cache many versions but limit how many appear in the final matrix.json. When not specified, defaults to using the same value as cache-count.no0
cache-incrementalAdd only new versions without replacing existing cachenofalse
cache-fileCustom cache file pathno.github/json2vars-setter/cache/version_cache.json
template-onlyOnly generate template from existing cache (no API calls)nofalse
cache-onlyOnly update the cache, do not generate the templatenofalse
keep-existingMaintain existing version information when generating templatenotrue
sort-orderVersion sort order (desc: newest first, asc: oldest first)nodesc
namedescription
osList of operating systems
versions_pythonList of Python versions
versions_rubyList of Ruby versions
versions_nodejsList of Node.js versions
versions_goList of Golang versions
versions_rustList of Rust versions
versions_phpList of PHP versions
versions_dotnetList of .NET (C#) versions
versions_javaList of Java versions
versions_denoList of Deno versions
versions_bunList of Bun versions
versions_zigList of Zig versions
versions_elixirList of Elixir versions
versions_dartList of Dart versions
versions_swiftList of Swift versions
versions_juliaList of Julia versions
versions_crystalList of Crystal versions
versions_haskellList of Haskell (GHC) versions
versions_ocamlList of OCaml versions
versions_kotlinList of Kotlin versions
versions_clangList of Clang/LLVM versions
versions_gccList of GCC versions
versions_flutterList of Flutter versions
ghpages_branchGitHub Pages branch