Small fix with preset generation

This commit is contained in:
Aurelien Vaillant
2022-04-26 17:48:31 +02:00
parent 39cd478b33
commit 0993ae714e
+2 -4
View File
@@ -1,8 +1,5 @@
name: Package Blender Plugin
env:
preset: 'presets'
# How to start the Github Action
on:
workflow_call:
@@ -25,13 +22,14 @@ jobs:
- name: Setup package variable
id: folder
run: |
echo "::set-output name=folder::$(python '.github/package.py')_preset"
echo "::set-output name=package::$(python '.github/package.py')_preset.zip"
# Make an archive with the plugin source only
- name: Create zip archive release
run: |
cd '${{ github.workspace }}'
zip -r '${{ github.workspace }}/releases/${{ steps.folder.outputs.package }}' ${{ env.preset }}
zip -r '${{ github.workspace }}/releases/${{ steps.folder.outputs.package }}' 'presets'
- uses: actions/upload-artifact@v2
with: