Small fix with preset generation
This commit is contained in:
@@ -1,8 +1,5 @@
|
|||||||
name: Package Blender Plugin
|
name: Package Blender Plugin
|
||||||
|
|
||||||
env:
|
|
||||||
preset: 'presets'
|
|
||||||
|
|
||||||
# How to start the Github Action
|
# How to start the Github Action
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
@@ -25,13 +22,14 @@ jobs:
|
|||||||
- name: Setup package variable
|
- name: Setup package variable
|
||||||
id: folder
|
id: folder
|
||||||
run: |
|
run: |
|
||||||
|
echo "::set-output name=folder::$(python '.github/package.py')_preset"
|
||||||
echo "::set-output name=package::$(python '.github/package.py')_preset.zip"
|
echo "::set-output name=package::$(python '.github/package.py')_preset.zip"
|
||||||
|
|
||||||
# Make an archive with the plugin source only
|
# Make an archive with the plugin source only
|
||||||
- name: Create zip archive release
|
- name: Create zip archive release
|
||||||
run: |
|
run: |
|
||||||
cd '${{ github.workspace }}'
|
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
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user