integrate npm-package with conan-package from workflow automation #2576
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: conan-package | ||
| on: | ||
| push: | ||
| paths: | ||
| - 'include/**' | ||
| - 'src/**' | ||
| - 'test_package/**' | ||
| - 'conanfile.py' | ||
| - 'conandata.yml' | ||
| - 'CMakeLists.txt' | ||
| - '.github/workflows/conan-package.yml' | ||
| branches: | ||
| - main | ||
| - 'CURA-*' | ||
| - 'PP-*' | ||
| - 'NP-*' | ||
| - '[0-9].[0-9]*' | ||
| - '[0-9].[0-9][0-9]*' | ||
| tags: | ||
| - '[0-9]+.[0-9]+.[0-9]*' | ||
| - '[0-9]+.[0-9]+.[0-9]' | ||
| pull_request: | ||
| types: [opened, reopened, synchronize] | ||
| paths: | ||
| - 'include/**' | ||
| - 'src/**' | ||
| - 'test_package/**' | ||
| - 'conanfile.py' | ||
| - 'conandata.yml' | ||
| - 'CMakeLists.txt' | ||
| - '.github/workflows/conan-package.yml' | ||
| branches: | ||
| - main | ||
| - 'CURA-*' | ||
| - 'PP-*' | ||
| - 'NP-*' | ||
| - '[0-9].[0-9]*' | ||
| - '[0-9].[0-9][0-9]*' | ||
| jobs: | ||
| conan-package: | ||
| uses: ultimaker/cura-workflows/.github/workflows/conan-package.yml@NP-637_conan_v2_wasm | ||
|
Check failure on line 43 in .github/workflows/conan-package.yml
|
||
| with: | ||
| platform_wasm: true | ||
| secrets: inherit | ||
| npm-package: | ||
| needs: [ conan-package ] | ||
| if: ${{ github.event_name == 'push' }} | ||
| uses: ultimaker/cura-workflows/.github/workflows/npm-package.yml@NP-637_conan_v2_wasm | ||
| with: | ||
| version_full: ${{ needs.conan-package.outputs.version_full }} | ||
| secrets: inherit | ||