From 81789115d2d07dd14270cdea6102c2d84dcbe9cd Mon Sep 17 00:00:00 2001 From: Wen Zhou Date: Wed, 24 Aug 2022 15:17:39 +0200 Subject: [PATCH] docs: add example when using workdir along with upload-artifact when using workdir, goreleaser creates dist folder inside of workdir, but upload-artifact action's path only matching from git_root dir --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b9ff8e9c..582ce7c3 100644 --- a/README.md +++ b/README.md @@ -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