From 496cd5e6219b54e01d0a3b175cb77457001ce7dc Mon Sep 17 00:00:00 2001 From: AsamK Date: Thu, 19 May 2022 13:48:34 +0200 Subject: [PATCH] Fix repackage if building with multiple java versions --- .github/workflows/repackage-native-libs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repackage-native-libs.yml b/.github/workflows/repackage-native-libs.yml index 9a87f723..fc5fa780 100644 --- a/.github/workflows/repackage-native-libs.yml +++ b/.github/workflows/repackage-native-libs.yml @@ -31,7 +31,7 @@ jobs: run: | #echo ${GITHUB_REF#refs/tag/} 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/') echo $ver echo "::set-output name=signal_cli_version::${ver}"