As availability may be limited in some edge cases.
When a job is for example running within a container, `openssl` is not
always available. However, when running on a macOS or Windows runner,
the actual opposite is true.
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
Plus the verification of the SHA256 of the archive, as advertised in
the checksum file published together with the release.
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
If VERSION is provided, VERSION_SLUG will never be set and VERSION will
be overwritten with a bad value.
Signed-off-by: Joel Guedj <joel.guedj@gmail.com>
add an "else" branch
(https://github.com/fluxcd/flux2/pull/3511 failed to fix#3509)
* factor out sed and cut
so we at least do not repeat the most complex part of the expression
* eliminate intermediary array TOKEN
* delete reassignment of token
* wording
Signed-off-by: Kingdon Barrett <kingdon@weave.works>
Fix an issue with improperly quoted variables created by #3474
Also, curl should fail with an error code if the download results in
404 not found
* + (x3) Update action/action.yml
* for consistent format
Co-authored-by: Steven E. Harris <seh@panix.com>
Signed-off-by: Kingdon Barrett <kingdon@weave.works>
feat: add ability to auth to github api
docs: add authentication snippet example
docs: update checkout@v3, create-pull-request@v4
docs: add documentation about the github token secret
Review: Add suggested change from last week
(per
https://github.com/fluxcd/flux2/pull/3474#discussion_r1067178730)
Signed-off-by: Erik Kristensen <erik@erikkristensen.com>
Signed-off-by: Kingdon Barrett <kingdon@weave.works>