Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

files Add array type support #433

Open
allentown521 opened this issue Apr 8, 2024 · 1 comment
Open

files Add array type support #433

allentown521 opened this issue Apr 8, 2024 · 1 comment

Comments

@allentown521
Copy link

Currently I'm using tauri's github action to build products for various platforms, which is scattered in various folders, and it provides the steps.build-tauri.outputs.artifactPaths parameter, which is an array something like: ['/a/a.exe':'a/b/b.exe'], and I know that the The files parameter is a string and needs to be \n delimited, but even if it is written this way:
files: |
${{ join(fromJson(steps.build-tauri.outputs.artifactPaths), '\n') }}
Still not parsing properly as an array

🤔 Pattern 'D:\a\aichatone\aichatone\src-tauri\target\release\bundle\msi\aichatone_2.7.4_x64_en-US.msi\nD:\a\aichatone\aichatone\src-tauri\target\release\bundle\nsis\aichatone_2.7.4_x64-setup.exe' does not match any files.

@JakobAnarkyLabs
Copy link

I have experienced the same (delimiting with '\n' not working), but I found out that it does still work with a comma-delimited string even though the docs now only mention the newline-delimited option.
So maybe the docs just need to mention the comma-delimited option as well,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants