Are you sure the action(s) you want aren't already supported?
No, it's not supported yet
What action(s) do you need?
- superfly/flyctl-actions/setup-flyctl@v1
- https://github.com/superfly/flyctl-actions/tree/master/setup-flyctl
Read more about them: https://fly.io/docs/app-guides/continuous-deployment-with-github-actions
Note that this action is not using the default and recommended project layout. I.e. they have action.yml
in a subdirectory.
Thus, I was not able to quickly make the generator (./gradlew :wrapper-generator:run
) work generate anything for it. I got either
Generating superfly/flyctl-actions@setup-flyctl
Exception in thread "main" java.lang.IllegalArgumentException: Only major versions are supported, and 'setup-flyctl' was given!
at it.krzeminski.githubactions.wrappergenerator.generation.GenerationKt.generateWrapper(Generation.kt:48)
at it.krzeminski.githubactions.wrappergenerator.generation.GenerationKt.generateWrapper$default(Generation.kt:44)
at it.krzeminski.githubactions.wrappergenerator.GenerationEntryPointKt.generateWrappers(GenerationEntryPoint.kt:39)
at it.krzeminski.githubactions.wrappergenerator.GenerationEntryPointKt.main(GenerationEntryPoint.kt:28)
at it.krzeminski.githubactions.wrappergenerator.GenerationEntryPointKt.main(GenerationEntryPoint.kt)
or
Generating flyctl-actions/setup-flyctl@v1
... from https://raw.githubusercontent.com/flyctl-actions/setup-flyctl/dbf1fa04f4d2e52c33185153d06cdb5443aa189d/action.yml
... from https://raw.githubusercontent.com/flyctl-actions/setup-flyctl/dbf1fa04f4d2e52c33185153d06cdb5443aa189d/action.yaml
Exception in thread "main" java.lang.IllegalStateException: flyctl-actions/setup-flyctl@v1
†Can't fetch any of those URLs:
- https://raw.githubusercontent.com/flyctl-actions/setup-flyctl/dbf1fa04f4d2e52c33185153d06cdb5443aa189d/action.yml
- https://raw.githubusercontent.com/flyctl-actions/setup-flyctl/dbf1fa04f4d2e52c33185153d06cdb5443aa189d/action.yaml
Check release page https://github.com/flyctl-actions/setup-flyctl/releases
at it.krzeminski.githubactions.wrappergenerator.metadata.MetadataReadingKt.fetchMetadata(MetadataReading.kt:64)
at it.krzeminski.githubactions.wrappergenerator.metadata.MetadataReadingKt.fetchMetadata$default(MetadataReading.kt:48)
at it.krzeminski.githubactions.wrappergenerator.generation.GenerationKt$generateWrapper$1.invoke(Generation.kt:46)
at it.krzeminski.githubactions.wrappergenerator.generation.GenerationKt$generateWrapper$1.invoke(Generation.kt:46)
at it.krzeminski.githubactions.wrappergenerator.generation.GenerationKt.generateWrapper(Generation.kt:52)
at it.krzeminski.githubactions.wrappergenerator.generation.GenerationKt.generateWrapper$default(Generation.kt:44)
at it.krzeminski.githubactions.wrappergenerator.GenerationEntryPointKt.generateWrappers(GenerationEntryPoint.kt:39)
at it.krzeminski.githubactions.wrappergenerator.GenerationEntryPointKt.main(GenerationEntryPoint.kt:28)
at it.krzeminski.githubactions.wrappergenerator.GenerationEntryPointKt.main(GenerationEntryPoint.kt)
When trying to run it with three / two levels accordingly.
enhancement