Update the github CI, set the repository has a public repo

This commit is contained in:
Aurelien Vaillant
2022-01-31 11:23:50 +01:00
parent 36f9c92aef
commit 378583e958
4 changed files with 11 additions and 11 deletions
+3 -2
View File
@@ -5,12 +5,13 @@ on:
branches-ignore:
[main, develop]
jobs:
unit-test:
uses: Moderlab-Production/BlenderTemplate/.github/workflows/unit_test.yml@develop
uses: Moderlab-Production/BlenderTemplate/.github/workflows/unit_test.yml@main
generate-package:
uses: Moderlab-Production/BlenderTemplate/.github/workflows/package.yml@develop
uses: Moderlab-Production/BlenderTemplate/.github/workflows/package.yml@main
with:
num_version: '0.0.0'
name_version: 'v0.0.0'
+2 -1
View File
@@ -7,6 +7,7 @@ on:
types:
[opened]
jobs:
create-release:
name: Create a new release
@@ -44,4 +45,4 @@ jobs:
name: Start all pull request CI jobs
needs:
- create-release
uses: Moderlab-Production/BlenderObjectType/.github/workflows/pr_main.yml@develop
uses: Moderlab-Production/BlenderTemplate/.github/workflows/pr_main.yml@main
+3 -5
View File
@@ -21,8 +21,8 @@ on:
default: 'false'
env:
APP_NAME: 'moderlab_addon'
NAME_PACKAGE: 'moderlab_addon.zip'
APP_NAME: 'moderlab_type'
NAME_PACKAGE: 'moderlab_type.zip'
PATH_RELEASE: ${{ github.workspace }}\releases
@@ -36,9 +36,7 @@ jobs:
# Update the bl info version, update the init file and push if needed
- name: Change version number in the bl info addon data
run: |
echo 'Debug this data : "${{ inputs.draft_version }}"'
python '.github/version.py' --tag=${{ inputs.num_version }} --name=${{ env.APP_NAME }}
run: python '.github/version.py' --tag=${{ inputs.num_version }} --name=${{ env.APP_NAME }}
- name: Commit the previous update
uses: actions-js/push@v1.3
+3 -3
View File
@@ -37,7 +37,7 @@ jobs:
id: get_semantic_setup
uses: oprypin/find-latest-tag@v1.1.0
with:
repository: Moderlab-Production/BlenderTemplate
repository: ${{ github.repository }}
releases-only: true
prefix: 'v'
token: ${{ secrets.GITHUB_TOKEN }}
@@ -55,12 +55,12 @@ jobs:
fi
unit-test:
uses: Moderlab-Production/BlenderTemplate/.github/workflows/unit_test.yml@develop
uses: Moderlab-Production/BlenderTemplate/.github/workflows/unit_test.yml@main
release-package:
needs:
- init-release-data
uses: Moderlab-Production/BlenderTemplate/.github/workflows/package.yml@develop
uses: Moderlab-Production/BlenderTemplate/.github/workflows/package.yml@main
with:
num_version: ${{ needs.init-release-data.outputs.version_number }}
name_version: ${{ needs.init-release-data.outputs.version_name }}