Skip to content

Conversation

@cderv
Copy link
Contributor

@cderv cderv commented Apr 25, 2022

This adapt the current daily build workflow so that we are building the full version in the same workflow here and not in yihui/tinytex-releases anymore.

This is part of the work to migrate from Appveyor (rstudio/tinytex-releases#22).

Monthly release and chocolatey packaging are still done in tinytex-releases repo.

This will increase the build time of the daily release to 1 or 2hours, but that is reasonable.

We are also using new version for gh CLI which allow us to undraft a draft release. New workflow is now

  • Create a new draft release for the daily release. Currently daily will still be available at https://github.com/yihui/tinytex-releases/releases/tag/daily
  • We build in parallel all the bundle for Linux, Mac and Windows and upload assets in the draft release at the end of each OS build step
  • If everything went right, then we are making the currently daily a draft, then undrafting the prepared draft for new daily which contains new assets, and updating the release note, then deleting the previous daily release.
    Doing the drafting part before deleting will allow us to undraft manually, if there is an issue in the process of undrafting.

It is working ok in my fork (https://github.com/cderv/tinytex/actions/runs/2208840019) - Total time is 1H for the all workflow.

Is there anything that question you ? Does it seems ok to you ?

Copy link
Contributor

@yihui yihui left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you!

@yihui yihui merged commit af261e1 into main Apr 25, 2022
@yihui yihui deleted the build-daily-scheme-full branch April 25, 2022 13:45
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.

3 participants