We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5053ae8 commit 9e6963fCopy full SHA for 9e6963f
tests/scripts/findkernelversion.sh
@@ -29,13 +29,11 @@ else
29
artifacts=$(gh api -X GET /repos/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}/artifacts --jq '.artifacts[].name')
30
# Use a loop or a pattern to find the matching artifact dynamically
31
for artifact in $artifacts; do
32
- echo "SHIVA=1 $artifact "
33
if [[ $artifact == $prefix*-$suffix ]]; then
34
gh run download --name "$artifact" --dir ./
35
tar -xf $artifact.tar
36
rm -f $artifact.tar
37
export $(grep -oP 'KERNEL_VERSION=[^ ]+' ./kernel_version.txt)
38
- echo "SHIVA=1 $KERNEL_VERSION "
39
rm -f kernel_version.txt
40
break
41
fi
0 commit comments