artifacts/README.md
Louis Seubert ae8d20e174
All checks were successful
default / test artifact actions (push) Successful in 26s
feat: artifact push and pull actions
2026-09-13 19:10:04 +02:00

40 lines
772 B
Markdown

# artifacts
Workflow artifact actions, built on `code.geekeey.de/actions/sdk/artifact`.
## push
Upload files as a workflow artifact.
```yaml
- uses: https://code.geekeey.de/actions/artifacts/push@1
with:
name: my-artifact
path: dist
pattern: |
**/*
```
## pull
Download and extract a workflow artifact.
```yaml
- uses: https://code.geekeey.de/actions/artifacts/pull@1
with:
name: my-artifact
path: .
```
To download from another run or repository, pass `repository`, `run-id` and a
token with read access to its actions:
```yaml
- uses: https://code.geekeey.de/actions/artifacts/pull@1
with:
name: my-artifact
path: .
repository: other-owner/other-repo
run-id: "123"
github-token: ${{ secrets.READ_TOKEN }}
```