This GitHub action creates a file from a variable and uploads it to an artifact.
jobs:
artifact:
runs-on: ubuntu-latest
steps:
- uses: theappnest/create-artifact-action@v1
with:
name: hello
path: greetings/hello.md
content: Hello World
name
(Optional) The name of the artifact to create. Defaults toartifact
.path
The path of the created file.content
The contents of the created file.