From 5dc579bb764f1feccc4bc0d67b0ff66ad910b7ef Mon Sep 17 00:00:00 2001 From: Wen Zhou Date: Tue, 13 Dec 2022 14:19:24 +0100 Subject: [PATCH] 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 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b9ff8e9..582ce7c 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