Prevent GitHub Actions from eating zip directory
This commit is contained in:
parent
63a087f265
commit
3ec042d739
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
@ -122,8 +122,9 @@ jobs:
|
||||||
echo "ARCHIVE_NAME=nih-plugs-$(git describe --always)-${{ matrix.os }}" >> "$GITHUB_ENV"
|
echo "ARCHIVE_NAME=nih-plugs-$(git describe --always)-${{ matrix.os }}" >> "$GITHUB_ENV"
|
||||||
- name: Move all packaged plugin into a directory
|
- name: Move all packaged plugin into a directory
|
||||||
run: |
|
run: |
|
||||||
mkdir "$ARCHIVE_NAME"
|
# GitHub Action strips the top level directory, great, have another one
|
||||||
mv target/bundled/* "$ARCHIVE_NAME"
|
mkdir "$ARCHIVE_NAME/$ARCHIVE_NAME"
|
||||||
|
mv target/bundled/* "$ARCHIVE_NAME/$ARCHIVE_NAME"
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ env.ARCHIVE_NAME }}
|
name: ${{ env.ARCHIVE_NAME }}
|
||||||
|
|
Loading…
Reference in a new issue