diff --git a/.github/workflows/init_release.yml b/.github/workflows/init_release.yml index 6b6791c..f9a9023 100644 --- a/.github/workflows/init_release.yml +++ b/.github/workflows/init_release.yml @@ -38,4 +38,10 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} prerelease: true - tag: 'v${{ steps.semantic_setup.outputs.version }}' \ No newline at end of file + 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 \ No newline at end of file diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index caf52d2..8a49019 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -54,8 +54,8 @@ jobs: # Make an archive with the plugin source only - name: Create zip archive release run: | - cd '${{ github.workspace }}/${{ env.APP_NAME }}' - zip -r '${{ github.workspace }}/releases/${{ env.NAME_PACKAGE }}' * + cd '${{ github.workspace }}' + zip -r '${{ github.workspace }}/releases/${{ env.NAME_PACKAGE }}' ${{ env.APP_NAME }} - uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/pr_main.yml b/.github/workflows/pr_main.yml index 3b78127..0c3238a 100644 --- a/.github/workflows/pr_main.yml +++ b/.github/workflows/pr_main.yml @@ -1,6 +1,7 @@ name: Create addon release on: + workflow_call: pull_request: branches: [main]