Small fixe with the default CI

This commit is contained in:
Aurelien Vaillant
2022-01-28 18:12:02 +01:00
parent 42eb875621
commit 36f9c92aef
3 changed files with 10 additions and 3 deletions
+7 -1
View File
@@ -38,4 +38,10 @@ jobs:
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true prerelease: true
tag: 'v${{ steps.semantic_setup.outputs.version }}' tag: 'v${{ steps.semantic_setup.outputs.version }}'
pull-request-ci:
name: Start all pull request CI jobs
needs:
- create-release
uses: Moderlab-Production/BlenderObjectType/.github/workflows/pr_main.yml@develop
+2 -2
View File
@@ -54,8 +54,8 @@ jobs:
# 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 }}/${{ env.APP_NAME }}' cd '${{ github.workspace }}'
zip -r '${{ github.workspace }}/releases/${{ env.NAME_PACKAGE }}' * zip -r '${{ github.workspace }}/releases/${{ env.NAME_PACKAGE }}' ${{ env.APP_NAME }}
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
+1
View File
@@ -1,6 +1,7 @@
name: Create addon release name: Create addon release
on: on:
workflow_call:
pull_request: pull_request:
branches: branches:
[main] [main]