feat: artifact push and pull actions
All checks were successful
default / test artifact actions (push) Successful in 26s

This commit is contained in:
Louis Seubert 2026-09-13 19:10:04 +02:00
commit ae8d20e174
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
15 changed files with 1319 additions and 0 deletions

40
README.md Normal file
View file

@ -0,0 +1,40 @@
# 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 }}
```