From cd365844744c92addf61877b2b51610fda019f22 Mon Sep 17 00:00:00 2001 From: xuxin Date: Fri, 28 Feb 2025 16:48:04 +0800 Subject: [PATCH] fix: actions/upload-artifact deprecated --- .github/workflows/build-examples-gh-pages-on-push.yml | 6 +++--- examples/chatgpt_demo/factory_nvs/main/main.c | 2 +- examples/chatgpt_demo/main/settings/settings.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-examples-gh-pages-on-push.yml b/.github/workflows/build-examples-gh-pages-on-push.yml index 090c56a..82b825a 100644 --- a/.github/workflows/build-examples-gh-pages-on-push.yml +++ b/.github/workflows/build-examples-gh-pages-on-push.yml @@ -82,7 +82,7 @@ jobs: esptool.py --chip esp32s3 merge_bin -o "$GITHUB_WORKSPACE/images/${{matrix.build-dir}}_${{matrix.boards}}.bin" @flash_args - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-images path: images/ @@ -115,7 +115,7 @@ jobs: esptool.py --chip esp32s3 merge_bin -o "$GITHUB_WORKSPACE/images/${{matrix.build-dir}}_${{matrix.boards}}.bin" @flash_args - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-images path: images/ @@ -134,7 +134,7 @@ jobs: submodules: 'recursive' - name: Download builds - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build-images path: images/ diff --git a/examples/chatgpt_demo/factory_nvs/main/main.c b/examples/chatgpt_demo/factory_nvs/main/main.c index f1e23bd..32ac6ec 100644 --- a/examples/chatgpt_demo/factory_nvs/main/main.c +++ b/examples/chatgpt_demo/factory_nvs/main/main.c @@ -19,7 +19,7 @@ #define NVS_MODIFIED_BIT BIT0 #define SSID_SIZE 32 #define PASSWORD_SIZE 64 -#define KEY_SIZE 64 +#define KEY_SIZE 165 #define URL_SIZE 64 static const char *TAG = "ChatGPT_NVS"; diff --git a/examples/chatgpt_demo/main/settings/settings.h b/examples/chatgpt_demo/main/settings/settings.h index 8fa85aa..08b8c95 100644 --- a/examples/chatgpt_demo/main/settings/settings.h +++ b/examples/chatgpt_demo/main/settings/settings.h @@ -10,7 +10,7 @@ #define SSID_SIZE 32 #define PASSWORD_SIZE 64 -#define KEY_SIZE 64 +#define KEY_SIZE 165 #define URL_SIZE 64 typedef struct {