mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-06-30 01:19:43 +00:00
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:
@@ -138,6 +138,7 @@ purpose. You can do that with the [actions/upload-artifact](https://github.com/a
|
|||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: release --rm-dist
|
args: release --rm-dist
|
||||||
|
workdir: myfolder
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
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
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: myapp
|
name: myapp
|
||||||
path: dist/*
|
path: myfolder/dist/*
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install Only
|
### Install Only
|
||||||
|
|||||||
Reference in New Issue
Block a user