Update readme information, add presets folder and the PR main

This commit is contained in:
Aurelien Vaillant
2022-04-26 17:58:13 +02:00
parent 0993ae714e
commit c093eb5736
3 changed files with 21 additions and 8 deletions
+14 -3
View File
@@ -23,8 +23,8 @@ jobs:
unit-test:
uses: Moderlab-Production/BlenderTemplate/.github/workflows/unit_test.yml@main
release-package:
name: Generate archive package
release-package-addon:
name: Generate archive package addon
needs:
- init-release-data
- prepare-first-release
@@ -35,11 +35,22 @@ jobs:
name_version: ${{ needs.init-release-data.outputs.version_name }}
draft_version: ${{ needs.init-release-data.outputs.version_draft }}
release-package-preset:
name: Generate archive package preset
needs:
- init-release-data
- prepare-first-release
- unit-test
uses: Moderlab-Production/BlenderTemplate/.github/workflows/package_preset.yml@main
with:
name_version: ${{ needs.init-release-data.outputs.version_name }}
publish-release:
name: Publish the Github Release
needs:
- init-release-data
- release-package
- release-package-addon
- release-package-preset
runs-on: ubuntu-latest
steps:
- name: Update/Publish the release
View File
+6 -4
View File
@@ -3,12 +3,14 @@
# Blender Addon
Template repository about blender addon. To used-it, clone this repository and rename the folder "blender_addon_folder" with your addon name.
Update the file "tests/main.py", line 29, set your addon name.
```python
It's important to change some files :
- [x] Update the file "tests/main.py", line 29, set your addon name.
```python
# Prepare Blender and Unreal dependency
generate_archive(archives, 'blender_addon_folder')
```
```
- [x] You can remove the folder "presets" and disable the workflow (`.github/workflows/pr_main.yml`, line 38 and 53)
> ⚠️ It's more easy to use the "_" with your addon folder name, the "-" character can be problematic with python use.