docs: add example when using workdir along with upload-artifact (#366)
when using workdir, goreleaser creates dist folder inside of workdir, but upload-artifact action's path only matching from git_root dir
This commit is contained in:
parent
3b7d1ba946
commit
5dc579bb76
|
@ -138,6 +138,7 @@ 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 }}
|
||||
-
|
||||
|
@ -145,7 +146,7 @@ purpose. You can do that with the [actions/upload-artifact](https://github.com/a
|
|||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: myapp
|
||||
path: dist/*
|
||||
path: myfolder/dist/*
|
||||
```
|
||||
|
||||
### Install Only
|
||||
|
|
Loading…
Reference in New Issue