File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -638,9 +638,18 @@ jobs:
638638 cp -f THIRDPARTY package/THIRDPARTY || echo "THIRDPARTY file not found (allowed for PR and schedule)"
639639 - name : Build Package
640640 id : uccgen
641- uses : splunk/addonfactory-ucc-generator-action@v3.0
642- with :
643- version : ${{ steps.BuildVersion.outputs.VERSION }}
641+ run : |
642+ ucc-gen --ta-version ${{ steps.BuildVersion.outputs.VERSION }}
643+ if [ -f package.json ]
644+ then
645+ yarn
646+ if [ -n ${{ steps.BuildVersion.outputs.VERSION }} ]
647+ then
648+ yarn version --new-version ${{ steps.BuildVersion.outputs.VERSION }} --no-git-tag-version
649+ fi
650+ yarn run build
651+ fi
652+ echo "OUTPUT=output/$(ls output/)" >> "$GITHUB_OUTPUT"
644653 - name : Slim Package
645654 id : slim
646655 run : |
You can’t perform that action at this time.
0 commit comments