Skip to content

Commit

Permalink
fix: revert linux/arm64 publish to store
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 authored Oct 15, 2024
1 parent 6bf9cfc commit 3097396
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions .github/workflows/build_linux_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,7 @@ jobs:
rustup default nightly && \
tgn gen linux arm64 ${{ matrix.build_type }} -- is_clang=${{ matrix.compiler == 'gcc' && 'false' || 'true' }} log_level=1 enable_serialized_actions=true ten_enable_tests=false ten_enable_libwebsockets=false && \
tgn build linux arm64 ${{ matrix.build_type }} && \
tree -I 'gen|obj' out && \
UPDATE_SUPPORTS_SCRIPT=$(pwd)/tools/supports/update_supports_in_manifest_json.py && \
cd out/linux/arm64/ten_packages && \
ARRAY=( \
"system/ten_runtime" \
"system/ten_runtime_go" \
"system/ten_runtime_python" \
"extension/py_init_extension_cpp" \
) && \
for item in "${ARRAY[@]}"; do python3 ${UPDATE_SUPPORTS_SCRIPT} --os-arch-pairs linux:arm64 --input-file ${item}/manifest.json --output-file ${item}/manifest.json --log-level 1 && cat ${item}/manifest.json; done
tree -I 'gen|obj' out \
"
- name: Upload tman
Expand Down Expand Up @@ -108,28 +99,3 @@ jobs:
files: |
out/linux/arm64/tman-linux-arm64-${{ matrix.compiler }}-${{ matrix.build_type }}.zip
out/linux/arm64/ten_packages-linux-arm64-${{ matrix.compiler }}-${{ matrix.build_type }}.zip
- name: Publish release to TEN cloud store
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.compiler == 'gcc' && matrix.build_type == 'release' }}
run: |
TMAN_BIN=$(pwd)/out/linux/arm64/ten_manager/bin/tman
cd out/linux/arm64/ten_packages
ARRAY=(
"system/ten_runtime"
"system/ten_runtime_go"
"system/ten_runtime_python"
"extension/default_extension_cpp"
"extension/default_extension_go"
"extension/default_extension_python"
"extension/default_async_extension_python"
"extension/py_init_extension_cpp"
)
for item in "${ARRAY[@]}"; do
echo $item
cd $item
${TMAN_BIN} --verbose --user-token ${{ secrets.TEN_CLOUD_STORE }} publish
cd -
done
shell: bash

0 comments on commit 3097396

Please sign in to comment.