Pass current file name through to export command (#4503)
* Pass current file name through to export command * A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores) * Oops I needed a couple other things, not just that one line change * A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores) * Undo overriding of internal zipped file names That was liable to cause conflicts and whatnot per @jessfraz feedback * Update E2E test that was still looking for `output.gltf` * Missed one other test my bad * Should've just grepped for output.gltf to begin with --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Paul Tagliamonte <paul@zoo.dev>
This commit is contained in:
@ -283,7 +283,7 @@ part001 = startSketchOn('-XZ')
|
||||
const gltfFilename = filenames.filter((t: string) =>
|
||||
t.includes('.gltf')
|
||||
)[0]
|
||||
if (!gltfFilename) throw new Error('No output.gltf in this archive')
|
||||
if (!gltfFilename) throw new Error('No gLTF in this archive')
|
||||
cliCommand = `export ZOO_TOKEN=${secrets.snapshottoken} && zoo file snapshot --output-format=png --src-format=${outputType} ${parentPath}/${gltfFilename} ${imagePath}`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user