From f6aca2d0d825e974bae2128765c1d8f82482d242 Mon Sep 17 00:00:00 2001 From: WanQuanXie Date: Sat, 1 Jun 2024 12:48:34 +0800 Subject: [PATCH 1/5] build: update github action flow checkout step use the latest version `actions/checkout@v4` --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e82632c77..c16dad5f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,8 +9,7 @@ jobs: with: xcode-version: latest-stable - name: Checkout - uses: actions/checkout@master - - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: submodules-init uses: snickerbockers/submodules-init@v4 - name: Import PAT from Actions secrets From 084bcc63f0ee0f7b04b22717e74440fb8d31f9fb Mon Sep 17 00:00:00 2001 From: WanQuanXie Date: Sat, 1 Jun 2024 12:56:40 +0800 Subject: [PATCH 2/5] build: update github action flow Upload step use the latest version `actions/upload-artifact@v4` --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c16dad5f8..482630ef0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: /bin/bash -c ./compile.command zip -r9 戴铭的开发小册子.zip 戴铭的开发小册子.app - name: Upload App.zip - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: name: "戴铭的开发小册子.zip" path: "戴铭的开发小册子.zip" From a15900761b5c4518b42daaf370aed1cf35c9e79c Mon Sep 17 00:00:00 2001 From: WanQuanXie Date: Sat, 1 Jun 2024 13:09:19 +0800 Subject: [PATCH 3/5] build: use `submodules: recursive` of `actions/checkout@v4` instead `snickerbockers/submodules-init@v4` --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 482630ef0..047457cde 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,8 +10,7 @@ jobs: xcode-version: latest-stable - name: Checkout uses: actions/checkout@v4 - - name: submodules-init - uses: snickerbockers/submodules-init@v4 + submodules: recursive - name: Import PAT from Actions secrets run: | cd SwiftPamphletApp/App From 17e22e5ae0226bfbbf28ed2e647a129c004433fe Mon Sep 17 00:00:00 2001 From: WanQuanXie Date: Sat, 1 Jun 2024 13:12:02 +0800 Subject: [PATCH 4/5] build: correct set `submodules: recursive` config to `actions/checkout@v4` --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 047457cde..e0a17e09f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,8 @@ jobs: xcode-version: latest-stable - name: Checkout uses: actions/checkout@v4 - submodules: recursive + with: + submodules: recursive - name: Import PAT from Actions secrets run: | cd SwiftPamphletApp/App From dc31cded9ce2074fcc955628055e59d98f66710b Mon Sep 17 00:00:00 2001 From: WanQuanXie Date: Sat, 1 Jun 2024 13:14:22 +0800 Subject: [PATCH 5/5] build: correct workflow file config indent --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0a17e09f..a7e409b4e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,8 +10,8 @@ jobs: xcode-version: latest-stable - name: Checkout uses: actions/checkout@v4 - with: - submodules: recursive + with: + submodules: recursive - name: Import PAT from Actions secrets run: | cd SwiftPamphletApp/App