Skip to content

Commit

Permalink
Updated action.
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Nov 1, 2021
1 parent 02b91ba commit 7ac6a9b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ var rootCmd = &cobra.Command{

fmt.Printf("Inputs: %v\n", inputs)

for _, input := range inputs {
fmt.Printf("Output: %v\n", input)
}

outputs := make(map[interface{}]interface{})

err = action.Outputs.Decode(outputs)
Expand All @@ -96,6 +100,10 @@ var rootCmd = &cobra.Command{

fmt.Printf("Outputs: %v\n", outputs)

for _, output := range outputs {
fmt.Printf("Output: %v\n", output)
}

outputFile, err := os.Open(outputFileName)

if err != nil {
Expand Down

0 comments on commit 7ac6a9b

Please sign in to comment.