proxy.golang.org : github.com/posener/goaction-example
Package main is an example of the simplest goaction script. Notice that the only non-generated file is ./main.go. The generated files were generated using Github action ./github/workflows/goaction.yml. The ./main.go is the only non-generated file and is a simple Go script, and can be run with: The ./action.yml is autogenerated and contains the action definition. Notice that the flag from the program below appears as the input for the Github action. You can see the action in-action in the (action page) https://github.com/posener/goaction-example/actions?query=workflow%%3A.github%%2Fworkflows%%2Fgoaction.yml. The ./Dockerfile is autogenerated and will also run the ./main.go sctipt. You can build and run it with docker, even if you don't have Go installed on your machine: This is the simplest program possible. Goaction also provides a library that helps writing Github action scripts easily.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/posener/goaction-example
Keywords:
example
, github-action
, go
, goaction
, golang
License: Apache-2.0
Latest release: over 5 years ago
First release: over 5 years ago
Namespace: github.com/posener
Stars: 4 on GitHub
Forks: 2 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 13 days ago
github.com/posener/goaction-issues-example v0.0.0-20210928074217-ca5e38858069
An example of using goaction with Github APIs. Before reading this example, please go through th...1 version - Latest release: about 4 years ago - 2 stars on GitHub
Check this option to include packages that no longer depend on this package in their latest version but previously did.