Fix translations missing from build...maybe?

This commit is contained in:
Joey de l'Arago 2023-02-22 17:08:58 +01:00
parent 64ecc2118d
commit 2c23221a9a
2 changed files with 5 additions and 2 deletions

View File

@ -76,7 +76,7 @@ jobs:
permissions:
contents: read
if: ${{ (github.event_name == 'push' && (github.ref_name == 'main' || github.ref_name == 'master' || needs.conan-recipe-version.outputs.is_release_branch == 'true')) || (github.event_name == 'workflow_dispatch' && inputs.create_binaries_linux) }}
if: ${{ (github.event_name == 'push' && (github.ref_name == 'main' || github.ref_name == 'master' || needs.conan-recipe-version.outputs.is_release_branch)) || (github.event_name == 'workflow_dispatch' && inputs.create_binaries_linux) }}
needs: [ conan-recipe-version, conan-package-export ]
uses: ultimaker/cura/.github/workflows/conan-package-create.yml@main

View File

@ -6,7 +6,7 @@ from jinja2 import Template
from conan import ConanFile
from conan.tools.files import copy, rmdir, save, mkdir
from conan.tools.microsoft import unix_path
from conan.tools.env import VirtualRunEnv, Environment
from conan.tools.env import VirtualRunEnv, Environment, VirtualBuildEnv
from conan.tools.scm import Version
from conan.errors import ConanInvalidConfiguration, ConanException
@ -314,6 +314,9 @@ class CuraConan(ConanFile):
vr = VirtualRunEnv(self)
vr.generate()
vb = VirtualBuildEnv(self)
vb.generate()
self._generate_cura_version(Path(self.source_folder, "cura"))
if self.options.devtools: