From febce3aa81aa82472df2927c4dfb2840f2d287c6 Mon Sep 17 00:00:00 2001 From: Ryan Huellen Date: Mon, 4 Nov 2024 21:14:14 -0600 Subject: [PATCH] fix: a creative `find` --- .github/workflows/test-build-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-build-publish.yml b/.github/workflows/test-build-publish.yml index 884f481..8dfd554 100644 --- a/.github/workflows/test-build-publish.yml +++ b/.github/workflows/test-build-publish.yml @@ -40,7 +40,7 @@ jobs: - name: Prepare artifact run: | mkdir -p ./lib/lib && - mv ./lib/* ./lib/lib && + find ./lib -mindepth 1 -maxdepth 1 ! -name "lib" -exec mv {} ./lib/lib/ \; cp package.json README.md LICENSE ./lib - uses: actions/upload-artifact@v4 with: