Run for version in 1.16 1.17 1.18 1.19 1.20 1.21; do for version in 1.16 1.17 1.18 1.19…
- User
Run for version in 1.16 1.17 1.18 1.19 1.20 1.21; do for version in 1.16 1.17 1.18 1.19 1.20 1.21; do ( cd version-Dev-{{ steps.get_latest_release.outputs.next_version }}.zip ./* cd .. zip -r Rus-For-Mods-$version-Dev-1.zip pack.png PeruseOrBruise.txt ) done shell: /usr/bin/bash -e {0} /home/runner/work/_temp/215197c1-f11b-45a0-831a-fbb09b015fcc.sh: line 3: cd: too many arguments Error: Process completed with exit code 1.
- Assistant
The error message
cd: too many argumentsindicates that thecdcommand is encountering an unexpected number of arguments, which is likely caused by a wildcard*pattern expanding to more than one directory or file.Your script suggests you want to change directories into each version folder (e.g.,
1.16,1.17, etc.), create a zip file for each version, then zip additional files outside those directories.Here's an improved script that addresses the issue:
bash
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.