Add version-file input to the Flux CLI action - #5975
Conversation
46704c8 to
b8bb4af
Compare
b8bb4af to
bfd430b
Compare
bfd430b to
c0a4ef4
Compare
| run: | | ||
| set -euo pipefail | ||
| flux -v | ||
| flux -v | grep -q '2.8.8' |
There was a problem hiding this comment.
Let's make the .tool-versions install 2.9.2 and test here the version
|
Done — the |
|
Please squash the 2 commits and force push, your last commit has no signoff. |
Signed-off-by: somaz <genius5711@gmail.com>
ba9a4c6 to
31bdd6e
Compare
|
Squashed into a single signed-off commit and force-pushed — DCO should be green now. Regarding the |
The Flux CLI action can now read the version from a file via a new
version-fileinput, so the version can be pinned in a.tool-versions(asdf) or plain version file instead of hardcoded in the workflow. The input is ignored whenversionis set, so existing workflows are unaffected.Validation:
action/action.ymland the workflow: pass.tool-versionswithflux/flux2key,vprefix, missing-file and empty-file errors) behaves as expectedversion-fileCI job in.github/workflows/action.yamlexercising both fixture formatsAI assistance was used for this change, disclosed via the
Assisted-bycommit trailer.