This commit is contained in:
Louis Seubert 2026-01-23 22:22:32 +01:00
commit eda52ab138
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD

View file

@ -1,32 +0,0 @@
package main
import (
"context"
"os"
"os/signal"
"code.geekeey.de/actions/sdk"
)
func main() {
action := &SaveArtifactAction{Action: sdk.New()}
ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt)
defer cancel()
if err := action.Run(ctx); err != nil {
action.Errorf("%s", err)
os.Exit(1)
}
}
type SaveArtifactAction struct {
*sdk.Action
name string
}
func (action *SaveArtifactAction) setup() error {
return nil
}
func (action *SaveArtifactAction) Run(ctx context.Context) error {
return nil
}