add pre and post
This commit is contained in:
@@ -9,4 +9,6 @@ outputs:
|
||||
description: 'The time when the action was called'
|
||||
runs:
|
||||
using: 'go'
|
||||
main: 'main.go'
|
||||
main: 'main.go'
|
||||
pre: 'pre/main.go'
|
||||
post: 'post/main.go'
|
||||
7
post/main.go
Normal file
7
post/main.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("Post of Simple Go Action")
|
||||
}
|
||||
7
pre/main.go
Normal file
7
pre/main.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("Pre of Simple Go Action")
|
||||
}
|
||||
Reference in New Issue
Block a user