riscv / docs-spec-template

https://lists.riscv.org/g/sig-documentation
Creative Commons Attribution 4.0 International
18 stars 19 forks source link

Add Release Workflow #4

Closed jjscheel closed 1 year ago

jjscheel commented 1 year ago
  1. Remove the release steps from the current build-pdf workflow
  2. Make the current build workflow reusable within the repo
  3. Add a create-release workflow that uses the build-pdf workflow to build and then re-uses the code removed in the first step to adds all artifacts into a release. It requests a version string (X.Y.Z), asks the release is a "pre-release" (defaults true), and asks if the release is a "draft release" (defaults false) to help customize the release.

All work flows can be dispatched manually. The build-pdf workflow continues to build on push and pull_request as well as on workflow_call.

Signed-off-by: Jeff Scheel jeff@riscv.org