Skip to content

Commit

Permalink
docs: add example when using workdir along with upload-artifact (#366)
Browse files Browse the repository at this point in the history
when using workdir, goreleaser creates dist folder inside of workdir, but upload-artifact action's path only matching from git_root dir
  • Loading branch information
zdtsw authored Dec 13, 2022
1 parent 3b7d1ba commit 5dc579b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,15 @@ purpose. You can do that with the [actions/upload-artifact](https://github.com/a
with:
version: latest
args: release --rm-dist
workdir: myfolder
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
name: Upload assets
uses: actions/upload-artifact@v3
with:
name: myapp
path: dist/*
path: myfolder/dist/*
```

### Install Only
Expand Down

0 comments on commit 5dc579b

Please # to comment.