Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual builds must not publish when not on master. #36

Merged
merged 1 commit into from
Nov 5, 2020

Conversation

kittaakos
Copy link
Contributor

Only CRON job and workflow_dispatch from the master should publish
a new nightly to AWS.

Signed-off-by: Akos Kitta kittaakos@typefox.io


@per1234, I made this PR to avoid publishing a nightly from a random branch when starting the workflow manually. What do you think? Does it have value? Thanks!

Only CRON job and `workflow_dispatch` from the `master` should publish
a new nightly to AWS.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think? Does it have value?

The truth is that I don't know enough about how the build artifacts are consumed during development to be able to make a judgement call on whether there is any value in having artifacts from manual builds done on development branches on AWS.

But I'm certain that you know exactly what are the needs for these artifacts, so I'm happy to accept your judgment on that.

As far as the change to the workflow goes, it looks great. Because I am not very experienced with the workflow_dispatch trigger, I gave it a try in my fork and it worked just as expected.

@kittaakos
Copy link
Contributor Author

The truth is that I don't know enough about how the build artifacts are consumed during development to be able to make a judgement call on whether there is any value in having artifacts from manual builds done on development branches on AWS.

The Arduino LS is not versioned. No releases are available. The latest "stable" version is always the nightly. Currently, the IDE2 workflow always pulls the nightly Arduino LS. My intention was to avoid accidentally publishing a LS as the nightly from a random, dev branch.

@kittaakos kittaakos merged commit a42ba9f into master Nov 5, 2020
@cmaglie cmaglie deleted the run-publish-only-from-master branch September 15, 2021 13:10
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.

None yet

2 participants