Skip to content

Manually publish dev builds. - #515

Closed
liammclennan-ro wants to merge 4 commits into
datalust:devfrom
liammclennan-ro:dev-publishing
Closed

liammclennan-ro wants to merge 4 commits into
datalust:devfrom
liammclennan-ro:dev-publishing

Conversation

@liammclennan-ro

@liammclennan-ro liammclennan-ro commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

No description provided.

@nblumhardt

Copy link
Copy Markdown
Member

Why not follow the workflow dispatch input techique we used earlier? (I think the parameter's still present in ci.yml, too, and would need to be removed as part of this PR.)

@liammclennan-ro

Copy link
Copy Markdown
Contributor Author

@nblumhardt because the connection to the output from ci.yml workflow is broken if the build is started manually.

@nblumhardt

Copy link
Copy Markdown
Member

Thanks, @liammclennan. Since ci.yml has to jump through hoops to not do things that aren't required on non-publish builds, and since the actual building is a couple of script calls, perhaps we can just remove all that stuff from ci.yml, duplicate the build/test script calls in publish.yml, and thereby keep the two workflows unlinked? It all seems to get a bit intricate, otherwise.

@liammclennan-ro

Copy link
Copy Markdown
Contributor Author

@nblumhardt 👍 I think that's the right idea, except that the only reason we have two workflows is to separate the build and the publish - so the fix is to rollback #512.

That also fixes the issue of ci creating github releases even if there is no published release.

@nblumhardt

Copy link
Copy Markdown
Member

Thanks for taking a look!

Having all publishing actions out of CI builds keeps publishing credentials one step further removed from PRs. Not a huge thing, but does seem worthwhile to me as an additional defense against future highly-unlikely-but-dramatic Actions bugs.

I guess it might not be the case in practice, but it does also seem quite nice to simplify conditionals around whether Docker, NPM, or GitHub artifact publishing should be attempted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants