From fde94bb9b0107a5ee2c28818df37b423f5715779 Mon Sep 17 00:00:00 2001 From: Neucrack Date: Sat, 30 Mar 2024 14:20:13 +0800 Subject: [PATCH] action test --- .github/workflows/build_maixcam.yml | 8 +++++--- .github/workflows/trigger_wiki.yml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_maixcam.yml b/.github/workflows/build_maixcam.yml index 39f7df59..a49df868 100755 --- a/.github/workflows/build_maixcam.yml +++ b/.github/workflows/build_maixcam.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: Build source code and doc +name: Build MaixCAM # Controls when the action will run. on: @@ -31,10 +31,12 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - name: Build MaixPy + with: + python-version: ${{ matrix.python-version }} run: | echo "-- Check python version must python 3.11 --" - python3 -c 'import sys;print(sys.version); assert sys.version_info >= (3, 11)' - python -c 'import sys;print(sys.version); assert sys.version_info >= (3, 11)' + python3 -c 'import sys;print(sys.version);assert sys.version_info >= (3, 11);assert sys.version_info < (3, 12)' + python -c 'import sys;print(sys.version);assert sys.version_info >= (3, 11);assert sys.version_info < (3, 12)' ls -al ~/.local/bin/ export PATH=~/.local/bin/:$PATH # pull sipeed/MaixCDK repo here first diff --git a/.github/workflows/trigger_wiki.yml b/.github/workflows/trigger_wiki.yml index eb66fda9..76e9af21 100755 --- a/.github/workflows/trigger_wiki.yml +++ b/.github/workflows/trigger_wiki.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: trigger_sipeed_wiki_build +name: trigger wiki # Controls when the action will run. on: