invertase / melos

🌋 A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.13k stars 201 forks source link

[bug] running melos publish in github actions throws #701

Closed iapicca closed 5 months ago

iapicca commented 5 months ago

Is there an existing issue for this?

Version

^5.3.0

Description

running melos publish in github actions throws

Run yes | melos publish --no-dry-run --git-tag-version
melos publish
  └> /home/runner/work/yak_packages/yak_packages

Reading pub registry for package information...

The following packages WILL be published to the registry:

Package Name    Registry    Local
yak_result      2.1.0       3.0.0
yak_runner      2.1.0       3.0.0
yak_test        2.1.0       3.0.0
yak_flutter     2.1.0       3.0.0
CancelledException: Operation was canceled.
yes: standard output: Broken pipe
Error: Process completed with exit code 1.

see full job results I got a similar error in the past

Steps to reproduce

you can see the code here

Expected behavior

publishing from github actions used to work

Screenshots

No response

Additional context and comments

No response

spydon commented 5 months ago

It is not possible to do publishing from GitHub until this issue is solved, you can put a thumbs up on it to show that it's a feature that you would like.

iapicca commented 5 months ago

It is not possible to do publishing from GitHub until this issue is solved, you can put a thumbs up on it to show that it's a feature that you would like.

done unless keeping this issue open is of any use for you to track the problem feel free to close it

spydon commented 5 months ago

This feature will btw be available through the melos-action once it is released, so you won't have to build it yourself. :)