GitHub Actions switch constant values by input

  • This is a sample of GitHub Actions that switches between constant values based on input

Description

  • Save the constant value as a json file and load it as a json-object.
  • Get the values you want using fromJSON.