Update release candidate workflow

This commit is contained in:
Erwan MATHIEU 2024-11-27 08:59:42 +01:00
parent 6313a89cd6
commit b46c89ad98

View file

@ -99,7 +99,6 @@ jobs:
run: | run: |
echo "main_commit=`git rev-parse HEAD`" >> "$GITHUB_OUTPUT" echo "main_commit=`git rev-parse HEAD`" >> "$GITHUB_OUTPUT"
create-dependencies-packages: create-dependencies-packages:
name: Create conan packages for dependencies name: Create conan packages for dependencies
uses: ultimaker/cura-workflows/.github/workflows/conan-package-release.yml@main uses: ultimaker/cura-workflows/.github/workflows/conan-package-release.yml@main
@ -113,38 +112,17 @@ jobs:
conan_recipe_root: "resources" conan_recipe_root: "resources"
with: with:
repository: ${{ matrix.repository }} repository: ${{ matrix.repository }}
ref_name: ${{ needs.parse-version.outputs.branch_name }} branch: ${{ needs.parse-version.outputs.branch_name }}
version: ${{ inputs.cura_version }}
conan_release: true
conan_user_channel: ultimaker/stable
conan_internal: false
conan_latest: true
conan_recipe_root: ${{ matrix.conan_recipe_root }} conan_recipe_root: ${{ matrix.conan_recipe_root }}
secrets: inherit secrets: inherit
create-cura-package:
name: Create conan package for Cura
uses: ultimaker/cura-workflows/.github/workflows/conan-package-release.yml@main
needs: [parse-version, create-dependencies-packages]
with:
repository: Cura
ref_name: ${{ needs.parse-version.outputs.branch_name }}
version: ${{ inputs.cura_version }}
conan_release: true
conan_user_channel: ultimaker/stable
conan_internal: false
conan_latest: true
secrets: inherit
create-installers: create-installers:
name: Create installers name: Create installers
uses: ./.github/workflows/installers.yml uses: ./.github/workflows/installers.yml
needs: [parse-version, create-cura-package] needs: [parse-version, create-cura-package]
with: with:
cura_conan_version: cura/${{ inputs.cura_version }}@/ cura_conan_version: cura/${{ inputs.cura_version }}@ultimaker/stable
enterprise: false conan_args: "-c user.sentry:environment=production"
staging: false
nightly: false
secrets: inherit secrets: inherit
create-release-draft: create-release-draft:
@ -174,7 +152,7 @@ jobs:
body: formatted_changelog.txt body: formatted_changelog.txt
- name: Download artifacts - name: Download artifacts
uses: actions/download-artifact@v4.1.7 uses: actions/download-artifact@v4
with: with:
path: artifacts path: artifacts
merge-multiple: true merge-multiple: true