From b659d1b6f831be9a72878d205bfb28699e26b523 Mon Sep 17 00:00:00 2001 From: bellondr <18566688434@163.com> Date: Tue, 31 Jan 2023 14:43:16 +0800 Subject: [PATCH 1/3] change default value to false --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 5935f68..131a839 100644 --- a/action.yml +++ b/action.yml @@ -44,12 +44,12 @@ inputs: Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules. required: false - default: false + default: 'false' persist-credentials: description: > 'Whether to configure the token or SSH key with the local git config required: false - default: true + default: 'false' runs: using: "composite" From ca4786641dedfbda3ef9e8fb06de4d7caf55695a Mon Sep 17 00:00:00 2001 From: "wei.nie" <18566688434@163.com> Date: Tue, 31 Jan 2023 14:50:17 +0800 Subject: [PATCH 2/3] Revert "change default value to false" --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 131a839..5935f68 100644 --- a/action.yml +++ b/action.yml @@ -44,12 +44,12 @@ inputs: Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules. required: false - default: 'false' + default: false persist-credentials: description: > 'Whether to configure the token or SSH key with the local git config required: false - default: 'false' + default: true runs: using: "composite" From d456dc2f4e93b4690df10671c3bd2cf0c6fcb1ba Mon Sep 17 00:00:00 2001 From: bellondr <18566688434@163.com> Date: Tue, 14 Feb 2023 15:52:42 +0800 Subject: [PATCH 3/3] refactor: upgrade set-out to GITHUB_OUTPUT --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 5935f68..e328819 100644 --- a/action.yml +++ b/action.yml @@ -72,7 +72,8 @@ runs: shell: bash - name: Create Submodule LFS Cache Paths - run: echo "::set-output name=CACHE_PATHS::$(git config --file .gitmodules --get-regexp path | awk '{ print $2 }' | while read line; do echo ".git/modules/$line/lfs"; done)" + run: | + echo "CACHE_PATHS=$(git config --file .gitmodules --get-regexp path | awk '{ print $2 }' | while read line; do echo ".git/modules/$line/lfs"; done)" >> $GITHUB_OUTPUT id: cache-paths shell: bash