A Github action to create releases and upload artifacts to the release. It assumes anything in $GITHUB_WORKSPACE matching any number of args to the script is an artifact. The default argument is *.tgz.
workflow "on tag, create a release and upload artifacts" {
on = "create"
resolves = ["create release"]
}
action "create release" {
uses = "devinclark/create-github-release@master"
secrets = ["GITHUB_TOKEN"]
args = "*.tgz"
}
The tests use shellcheck.
./test.sh