|
|
|
@ -9,11 +9,11 @@ See [action.yml](action.yml)
|
|
|
|
|
Basic (upload current working directory):
|
|
|
|
|
```yaml
|
|
|
|
|
actions:
|
|
|
|
|
- uses: actions/checkout@latest
|
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
|
|
|
|
|
|
# Do stuff
|
|
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@latest
|
|
|
|
|
- uses: actions/upload-artifact@master
|
|
|
|
|
with:
|
|
|
|
|
name: my-artifact
|
|
|
|
|
```
|
|
|
|
@ -21,13 +21,13 @@ actions:
|
|
|
|
|
Upload specific directory:
|
|
|
|
|
```yaml
|
|
|
|
|
actions:
|
|
|
|
|
- uses: actions/checkout@latest
|
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
|
|
|
|
|
|
- run: mkdir -p path/to/artifact
|
|
|
|
|
|
|
|
|
|
- run: echo hello > path/to/artifact/world.txt
|
|
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@latest
|
|
|
|
|
- uses: actions/upload-artifact@master
|
|
|
|
|
with:
|
|
|
|
|
name: my-artifact
|
|
|
|
|
path: path/to/artifact
|
|
|
|
|