Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

ensu: drop redundant backslash conversion in RC artifact list

Manav Rathi46c0bf897877
diff --git a/.github/workflows/ensu-build.yml b/.github/workflows/ensu-build.yml
index 922fc16a39..d75521eed9 100644
--- a/.github/workflows/ensu-build.yml
+++ b/.github/workflows/ensu-build.yml
@@ -242,7 +242,7 @@ jobs:
includeUpdaterJson: false
args: ${{ format('--target {0} --bundles {1} --config tauri.ci.conf.json', matrix.platform.rust-target, matrix.platform.bundle-targets) }}
- # ncipollo globs `artifacts`; its glob breaks on Windows backslash paths.
+ # tauri-action emits JSON; ncipollo expects comma-delimited artifact paths.
- name: Collect RC artifact list
if: startsWith(github.ref_name, 'release/')
id: rc_artifacts
@@ -250,8 +250,8 @@ jobs:
env:
ARTIFACT_PATHS: ${{ steps.tauri.outputs.artifactPaths }}
run: |
- list="$(jq -rn 'env.ARTIFACT_PATHS | fromjson | map(gsub("\\\\"; "/")) | join(",")')"
- echo "list=${list}" >> "${GITHUB_OUTPUT}"
+ list="$(jq -rn 'env.ARTIFACT_PATHS | fromjson | join(",")')"
+ printf 'list=%s\n' "${list}" >> "${GITHUB_OUTPUT}"
- name: Upload desktop artifacts to RC draft
if: startsWith(github.ref_name, 'release/')