Skip to content

Commit

Permalink
docs: add example when using workdir along with upload-artifact
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 committed Aug 24, 2022
1 parent aab65f3 commit 8178911
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 8178911

Please sign in to comment.