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

Separate build and release jobs? #54

Open
Webreaper opened this issue Jan 20, 2021 · 3 comments
Open

Separate build and release jobs? #54

Webreaper opened this issue Jan 20, 2021 · 3 comments

Comments

@Webreaper
Copy link

Webreaper commented Jan 20, 2021

I want to be able to upload the built artifacts to be used by another job in the pipeline, and use them as part of another build step, and finally do the release at the end when all pipeline jobs have succeeded. Currently, I can't do this. Could the build and release steps be exposed separately, so I can do this? I don't want the release job to run until all stages in my pipeline have completed.

Possibly implementation would be to add a skip_release flag, so the job could be duplicated - once with skip_release, and once with skip_build.

@scope2229
Copy link

What about using the method "build_script_name" running your build there then when that's finished it will continue with the build

@Webreaper
Copy link
Author

That won't work because I run the release stages on different OS/Hosts to the build (e.g., I run the build on Windows, OSX and Linux, and then the release step gets run on another linux host).

@scope2229
Copy link

scope2229 commented Aug 4, 2021

What about setting release to draft then in the next step use those drafts to release ??
If you did this you would just need to run electron builder with release: false then add an extra step below with a github action to grab the draft from the releases.

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

No branches or pull requests

2 participants