From b77263d71b1110c5caf4a4680ba0b3f824c9778c Mon Sep 17 00:00:00 2001 From: Yordan Atanasov Date: Mon, 10 Jun 2024 12:57:43 +0300 Subject: [PATCH] Substitute random uuid for mktemp command. --- .github/workflows/build_publish.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build_publish.yaml b/.github/workflows/build_publish.yaml index d67e1d5..d252fa8 100644 --- a/.github/workflows/build_publish.yaml +++ b/.github/workflows/build_publish.yaml @@ -84,9 +84,7 @@ jobs: - name: Setup wasmer-jni artifacts dir shell: bash run: | - random_string=$(uuidgen) - mkdir $random_string - echo "EXT_ARTIFACTS_DIR=$random_string" >> $GITHUB_ENV + echo "EXT_ARTIFACTS_DIR=$(mktemp -d)" >> $GITHUB_ENV - name: Download wasmer_jni artifacts uses: actions/download-artifact@v4