Skip to content

Commit

Permalink
docs(readme): Fix GHA artifact upload examples to avoid double extens…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
alerque committed Mar 24, 2021
1 parent acc5cbc commit b03671d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: ${{ steps.casile.outputs.DISTDIR }}.zip
path: ${{ steps.casile.outputs.DISTDIR }}/*
name: ${{ steps.casile.outputs.DISTDIR }}
path: ${{ steps.casile.outputs.DISTDIR }}
```
Another useful paradigm is to run your steps inside the container:
Expand All @@ -149,8 +149,8 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: pub.zip
path: pub/*
name: pub
path: pub
```
If you are just starting from scratch, consider using the [casile-template][template] repository to initialize your project.
Expand Down

0 comments on commit b03671d

Please sign in to comment.