Fix repackage if building with multiple java versions

This commit is contained in:
AsamK 2022-05-19 13:48:34 +02:00
parent 470aeadbd9
commit 496cd5e621

View file

@ -31,7 +31,7 @@ jobs:
run: | run: |
#echo ${GITHUB_REF#refs/tag/} #echo ${GITHUB_REF#refs/tag/}
tree . tree .
mv ./*/*.tar.gz . mv ./$(ls */ -d | tail -n1)/*.tar.gz .
ver=$(ls ./*.tar.gz | xargs basename | sed -E 's/signal-cli-(.*).tar.gz/\1/') ver=$(ls ./*.tar.gz | xargs basename | sed -E 's/signal-cli-(.*).tar.gz/\1/')
echo $ver echo $ver
echo "::set-output name=signal_cli_version::${ver}" echo "::set-output name=signal_cli_version::${ver}"