From c1dd1dc73cf648064013521e1dbbba7fcfac7a8f Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 13 Feb 2023 10:01:11 +0000 Subject: [PATCH] Fix macos release symlinking (#543) --- .github/workflows/build_macos.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_macos.yaml b/.github/workflows/build_macos.yaml index fb1d1f7..f35b353 100644 --- a/.github/workflows/build_macos.yaml +++ b/.github/workflows/build_macos.yaml @@ -135,8 +135,8 @@ jobs: - name: '[Release] Prepare release latest symlink' if: inputs.deploy-mode && inputs.version == '' run: | - LATEST=$(find dist -type f -iname "*.dmg" | xargs -0 -n1 -- basename) - ln -s "dist/install/macos/$LATEST" dist/install/macos/Element.dmg + ln -s "$(find . -type f -iname "*.dmg" | xargs -0 -n1 -- basename)" "Element.dmg" + working-directory: "dist/install/macos" - name: Upload Artifacts uses: actions/upload-artifact@v3