From 7d70bc4bdc9465fbc65b4ac753a59aa48d0717f1 Mon Sep 17 00:00:00 2001 From: Neucrack Date: Thu, 20 Jun 2024 15:14:57 +0800 Subject: [PATCH] ci release test --- .github/workflows/release_maixcam.yml | 15 ++++++++------- .github/workflows/release_other_linux.yml | 4 ++-- maix/version.py | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release_maixcam.yml b/.github/workflows/release_maixcam.yml index 73d7ee73..fcb04402 100644 --- a/.github/workflows/release_maixcam.yml +++ b/.github/workflows/release_maixcam.yml @@ -53,8 +53,8 @@ jobs: cp dist/* artifact/ release_name=`ls artifact|awk '{print $1}'` release_path=artifact/$release_name - echo ::set-output name=release_linux_path::$release_path - echo ::set-output name=release_linux_name::$release_name + echo "release_linux_path=$release_path" >> $GITHUB_OUTPUT + echo "release_linux_name=$release_name" >> $GITHUB_OUTPUT echo "----------------------------------" echo "-- Build MaixPy for MaixCAM now --" echo "----------------------------------" @@ -62,8 +62,8 @@ jobs: cp dist/* artifact/ release_name=`ls dist|awk '{print $1}'` release_path=dist/$release_name - echo ::set-output name=release_path::$release_path - echo ::set-output name=release_name::$release_name + echo "release_path=$release_path" >> $GITHUB_OUTPUT + echo "release_name=$release_name" >> $GITHUB_OUTPUT - name: Build doc id: build_doc @@ -83,10 +83,11 @@ jobs: doc_dir=maixpy_${{ github.ref_name }}_doc mv out $doc_dir zip ${doc_dir}.zip -r $doc_dir + cd .. release_name=${doc_dir}.zip - release_path=$release_name - echo ::set-output name=release_path::$release_path - echo ::set-output name=release_name::$release_name + release_path=docs/$release_name + echo "release_doc_path=$release_path" >> $GITHUB_OUTPUT + echo "release_doc_name=$release_name" >> $GITHUB_OUTPUT - name: Upload MaixPy Doc to release assets uses: svenstaro/upload-release-action@v2 diff --git a/.github/workflows/release_other_linux.yml b/.github/workflows/release_other_linux.yml index 0f371b8f..1aa74cbc 100644 --- a/.github/workflows/release_other_linux.yml +++ b/.github/workflows/release_other_linux.yml @@ -47,8 +47,8 @@ jobs: echo "--------------------------------" release_name=`ls dist|awk '{print $1}'` release_path=dist/$release_name - echo ::set-output name=release_path::$release_path - echo ::set-output name=release_name::$release_name + echo "release_path=$release_path" >> $GITHUB_OUTPUT + echo "release_name=$release_name" >> $GITHUB_OUTPUT - name: Publish MaixPy to pypi.org run: | diff --git a/maix/version.py b/maix/version.py index bf7f851c..7f30e552 100644 --- a/maix/version.py +++ b/maix/version.py @@ -3,6 +3,6 @@ version_major = 4 version_minor = 3 -version_patch = 5 +version_patch = 6 __version__ = "{}.{}.{}".format(version_major, version_minor, version_patch)