Commit dcab7f20 authored by Alex Richardson's avatar Alex Richardson
Browse files

Only override VERSION and REVMARK for manual GitHub Actions builds

For non-manual builds the "env" argument to the "Build Files" step will
set VERSION to "v" and REVMARK to the empty string which results in
the version of the PDF being incorrect. To avoid this problem use a
conditional step that updates $GITHUB_ENV for `workflow_dispatch` builds
instead of setting the variables unconditionally.

This PR also removes the Step <N> prefix to all the comments since it
does not add any explanatory value and makes it more difficult to update
the workflow file.

See https://github.com/riscv/riscv-cheri/issues/72



Signed-off-by: default avatarAlex Richardson <alexrichardson@google.com>
parent e1c38be3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment