From e11b863744b9be5b528d86cce54aa5233b226b46 Mon Sep 17 00:00:00 2001 From: Colin Basnett Date: Sun, 9 Jun 2024 14:52:08 -0700 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 48c893a..1768e6a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,10 +26,21 @@ jobs: sudo apt-get install libgl1-mesa-glx -y - name: Download Blender run: | - wget $BLENDER_URL - ls + wget -q $BLENDER_URL tar -xf $BLENDER_FILENAME rm -rf $BLENDER_FILENAME - ls - ./${{ env.BLENDER_VERSION }}/blender --version + echo "./${{ env.BLENDER_VERSION }}" >> $GITHUB_PATH + blender --version - uses: actions/checkout@v3 + - name: Build addon + run: | + ls -lf + pushd ./io_scene_psk_psa + blender --command extension build + popd + - name: Archive addon + uses: actions/upload-artifact@v4 + with: + name: addon + path: | + ./io_scene_psk_psa/io_scene_psk_psa.zip