From 1214fe1a681c1aabef9198142f0c1ad25ed11df4 Mon Sep 17 00:00:00 2001 From: NotNite Date: Wed, 6 Dec 2023 17:20:27 -0500 Subject: [PATCH] Fix artifact uploads (I let Copilot write this one) --- .github/workflows/tauri.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tauri.yml b/.github/workflows/tauri.yml index cad79a7..27dfa51 100644 --- a/.github/workflows/tauri.yml +++ b/.github/workflows/tauri.yml @@ -37,8 +37,15 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # JSON array to newline-delimited string + - name: Parse artifact paths + id: parse-artifact-paths + shell: bash + run: | + echo "::set-output name=artifactPaths::$(echo '${{ steps.build.outputs.artifactPaths }}' | jq -r '.[]')" + - name: Upload artifact uses: actions/upload-artifact@v2 with: name: moonlight-installer - path: ${{ steps.build.outputs.artifactPaths }} + path: ${{ steps.parse-artifact-paths.outputs.artifactPaths }}