github
No long description provided.
Installation
dagger install github.com/fluent-ci-templates/github-pipeline@e2acb39ca2ccd9890690b80400ee8b909f1be14a
Entrypoint
Return Type
Github
Example
dagger -m github.com/fluent-ci-templates/github-pipeline@e2acb39ca2ccd9890690b80400ee8b909f1be14a call \
func (m *myModule) example() *Github {
return dag.
Github()
}
@function
def example() -> dag.Github:
return (
dag.github()
)
@func()
example(): Github {
return dag
.github()
}
Types
Github 🔗
releaseUpload() 🔗
Upload asset files to a GitHub Release
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
tag | String ! | - | No description provided |
file | String ! | - | No description provided |
token | Secret ! | - | No description provided |
Example
dagger -m github.com/fluent-ci-templates/github-pipeline@e2acb39ca2ccd9890690b80400ee8b909f1be14a call \
release-upload --src DIR_PATH --tag string --file string --token env:MYSECRET
func (m *myModule) example(ctx context.Context, src *Directory, tag string, file string, token *Secret) string {
return dag.
Github().
ReleaseUpload(ctx, src, tag, file, token)
}
@function
async def example(src: dagger.Directory, tag: str, file: str, token: dagger.Secret) -> str:
return await (
dag.github()
.release_upload(src, tag, file, token)
)
@func()
async example(src: Directory, tag: string, file: string, token: Secret): Promise<string> {
return dag
.github()
.releaseUpload(src, tag, file, token)
}