From 3ec042d739d05aaa0a6950de0d74d95509281322 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Fri, 1 Apr 2022 16:03:20 +0200 Subject: [PATCH] Prevent GitHub Actions from eating zip directory --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d179e1e5..5b12fd51 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -122,8 +122,9 @@ jobs: echo "ARCHIVE_NAME=nih-plugs-$(git describe --always)-${{ matrix.os }}" >> "$GITHUB_ENV" - name: Move all packaged plugin into a directory run: | - mkdir "$ARCHIVE_NAME" - mv target/bundled/* "$ARCHIVE_NAME" + # GitHub Action strips the top level directory, great, have another one + mkdir "$ARCHIVE_NAME/$ARCHIVE_NAME" + mv target/bundled/* "$ARCHIVE_NAME/$ARCHIVE_NAME" - uses: actions/upload-artifact@v2 with: name: ${{ env.ARCHIVE_NAME }}