From 2a8a8fdb62736b3f91d9691bc04f10df9cbf7a1e Mon Sep 17 00:00:00 2001 From: "qbox-duck[bot]" <152818034+qbox-duck[bot]@users.noreply.github.com> Date: Sat, 9 Dec 2023 18:21:47 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/'=20wi?= =?UTF-8?q?th=20remote=20'repo-template/.github/'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release-action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-action.yml b/.github/workflows/release-action.yml index 23acf5a..8ed80fe 100644 --- a/.github/workflows/release-action.yml +++ b/.github/workflows/release-action.yml @@ -22,8 +22,9 @@ jobs: - name: Bundle files run: | rm -rf ./.github ./.vscode ./.git + shopt -s extglob mkdir ./${{ github.event.repository.name }} - find . -mindepth 1 -type d -exec cp * {} \; + cp -r !(${{ github.event.repository.name }}) ${{ github.event.repository.name }} zip -r ./${{ github.event.repository.name }}.zip ./${{ github.event.repository.name }} - name: Get App Token