Skip to content

Commit

Permalink
use main instead of work branches
Browse files Browse the repository at this point in the history
Contribute to NP-637
  • Loading branch information
jellespijker committed Dec 12, 2024
1 parent 2095fcc commit 1c7e9be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ on:

jobs:
conan-package:
uses: ultimaker/cura-workflows/.github/workflows/conan-package.yml@NP-637_conan_v2_wasm # FIXME: Use `main` branch
uses: ultimaker/cura-workflows/.github/workflows/conan-package.yml@main
with:
platform_wasm: true
secrets: inherit

npm-package:
needs: [ conan-package ]
if: ${{ github.event_name == 'push' && (github.ref_name == 'main' || startsWith(github.ref_name, 'NP-') || startsWith(github.ref_name, '5.')) }} # FIXME: have a more generic way to determine release branches
uses: ultimaker/cura-workflows/.github/workflows/npm-package.yml@NP-637_conan_v2_wasm # FIXME: Use `main` branch
uses: ultimaker/cura-workflows/.github/workflows/npm-package.yml@main
with:
package_version_full: ${{ needs.conan-package.outputs.package_version_full }}
secrets: inherit

0 comments on commit 1c7e9be

Please sign in to comment.