Skip to content

Commit

Permalink
Re-order example descriptions (#209)
Browse files Browse the repository at this point in the history
Given the way that the two descriptions were written it was confusing about which example was being discussed (see specifically "In the above example in the previous version).
  • Loading branch information
robpc authored May 21, 2021
1 parent 9dc0ee8 commit 9243a41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ If not provided, `artifact` will be used as the default name which will manifest

### Uploading to the same artifact

Each artifact behaves as a file share. Uploading to the same artifact multiple times in the same workflow can overwrite and append already uploaded files
With the following example, the available artifact (named `artifact` by default if no name is provided) would contain both `world.txt` (`hello`) and `extra-file.txt` (`howdy`).

```yaml
- run: echo hi > world.txt
Expand All @@ -143,10 +143,11 @@ Each artifact behaves as a file share. Uploading to the same artifact multiple t
with:
path: world.txt
```
With the following example, the available artifact (named `artifact` which is the default if no name is provided) would contain both `world.txt` (`hello`) and `extra-file.txt` (`howdy`).

> **_Warning:_** Be careful when uploading to the same artifact via multiple jobs as artifacts may become corrupted

Each artifact behaves as a file share. Uploading to the same artifact multiple times in the same workflow can overwrite and append already uploaded files

```yaml
strategy:
matrix:
Expand Down

0 comments on commit 9243a41

Please sign in to comment.