File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 3636 name : ${{ inputs.artifact-name }}
3737 path : sdk/
3838
39+ - name : Set environment variables
40+ env :
41+ SECRETS_CONTEXT : ${{ toJSON(secrets) }}
42+ shell : bash
43+ run : |
44+ VAR_NAMES=$(bun scripts/generate-ci-env.js)
45+ echo "$SECRETS_CONTEXT" | jq -r --argjson vars "$VAR_NAMES" '
46+ to_entries | .[] | select(.key as $k | $vars | index($k)) | .key + "=" + .value
47+ ' >> $GITHUB_ENV
48+
49+ echo "CODEBUFF_GITHUB_ACTIONS=true" >> $GITHUB_ENV
50+ echo "CODEBUFF_GITHUB_TOKEN=${{ secrets.CODEBUFF_GITHUB_TOKEN }}" >> $GITHUB_ENV
51+
3952 - name : Build SDK
4053 run : |
4154 cd sdk
Original file line number Diff line number Diff line change 11{
22 "name" : " @codebuff/sdk" ,
33 "private" : false ,
4- "version" : " 0.5.3 " ,
4+ "version" : " 0.5.1 " ,
55 "description" : " Official SDK for Codebuff — AI coding agent & framework" ,
66 "license" : " Apache-2.0" ,
77 "type" : " module" ,
You can’t perform that action at this time.
0 commit comments