mirror of
https://github.com/radareorg/github-actions.git
synced 2026-11-07 06:25:58 -10:00
Simplify r2 version code
This commit is contained in:
1 parent
93938f7352
commit
ca8063dc32
1 file changed
+2
-4
+2
-4
@@ -202,7 +202,5 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
R2_VERSION_OUTPUT="$(radare2 -v)"
|
||||
printf '%s\n' "$R2_VERSION_OUTPUT"
|
||||
R2_VERSION="$(printf '%s\n' "$R2_VERSION_OUTPUT" | awk 'NR == 1 { print $2 }')"
|
||||
echo "version=$R2_VERSION" >> "$GITHUB_OUTPUT"
|
||||
radare2 -v
|
||||
echo "version=$(radare2 -qv)" >> "$GITHUB_OUTPUT"
|
||||
Reference in new issue
Block a user