fix: handle multiple zip files in JetBrains release artifact step (#11873)
The Prepare Plugin Artifact step globs for continue-intellij-extension-*.zip which matches multiple files (EAP signed/unsigned, stable signed/unsigned), causing unzip to fail with exit code 9. Use head -1 to select only the first match.
This commit is contained in:
parent
7463037f4a
commit
e8c88f416f
1 changed files with 1 additions and 1 deletions
2
.github/workflows/jetbrains-release.yaml
vendored
2
.github/workflows/jetbrains-release.yaml
vendored
|
|
@ -286,7 +286,7 @@ jobs:
|
|||
echo "Contents of distributions folder:"
|
||||
ls
|
||||
echo "---"
|
||||
FILENAME=`ls continue-intellij-extension-*.zip`
|
||||
FILENAME=$(ls continue-intellij-extension-*.zip | head -1)
|
||||
echo "Filename=${FILENAME}"
|
||||
unzip "$FILENAME" -d content
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue