Skip to content

Commit 729b208

Browse files
committed
Add README
1 parent ffbddb6 commit 729b208

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Debug Artifacts
2+
3+
Uploads the `event.json` file and environment variables as an artifact for each GitHub Action run
4+
5+
![Example Artifacts](https://user-images.githubusercontent.com/59130/102122508-77df9280-3e3d-11eb-8ae5-66dc3b04f017.png)
6+
7+
## Usage
8+
9+
```yaml
10+
name: Debug Artifacts
11+
on: push
12+
13+
jobs:
14+
debug-artifacts:
15+
name: Debug Artifacts
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Debug Artifacts
19+
uses: mheap/debug-artifact@v1
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
```
23+
24+
## Available Configuration
25+
26+
### Environment Variables
27+
28+
| Name | Description |
29+
| -------------- | ----------------------------------------------------------------------------------------------------------------- |
30+
| `GITHUB_TOKEN` | The GitHub auth token, used to authenticate API requests. Use the value provided in `${{ secrets.GITHUB_TOKEN }}` |

0 commit comments

Comments
 (0)