File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 17
17
- extension/android/**
18
18
- extension/module/**
19
19
workflow_dispatch :
20
+ inputs :
21
+ version :
22
+ description : Version name to be uploaded for AAR release
23
+ required : false
24
+ type : string
20
25
21
26
concurrency :
22
27
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}
44
49
export ARTIFACTS_DIR_NAME=artifacts-to-be-uploaded
45
50
46
51
# Build LLM Demo for Android
47
- bash build/build_android_llm_demo.sh ${ARTIFACTS_DIR_NAME}
52
+ # bash build/build_android_llm_demo.sh ${ARTIFACTS_DIR_NAME}
53
+ mkdir -p "${ARTIFACTS_DIR_NAME}/llm_demo"
54
+ echo Hello > "${ARTIFACTS_DIR_NAME}/llm_demo/executorch.aar"
48
55
49
56
shasum -a 256 "${ARTIFACTS_DIR_NAME}/llm_demo/executorch.aar"
50
57
71
78
72
79
pip install awscli==1.32.18
73
80
AWS_CMD="aws s3 cp"
74
- VERSION_NAME="$(date +'%Y%m%d')"
81
+ VERSION="${{ inputs.version }}"
82
+ VERSION_NAME="${VERSION:-temp_snapshot}"
75
83
${AWS_CMD} executorch.aar s3://ossci-android/executorch/release/${VERSION_NAME}/executorch.aar --acl public-read
76
84
${AWS_CMD} executorch.aar.sha256sums s3://ossci-android/executorch/release/${VERSION_NAME}/executorch.aar.sha256sums --acl public-read
77
85
You can’t perform that action at this time.
0 commit comments