Load qt6_version from buildVariables.cmd
This step loads the qt6_version variable from the buildVariables.cmd script and sets it as an environment variable for subsequent steps in the GitHub Actions workflow. The call command executes the buildVariables.cmd script located in the Installer directory of the repository. The qt6_version variable, defined within the buildVariables.cmd script, is captured and appended to the GitHub Actions environment file (%GITHUB_ENV%), making it accessible in future steps. This ensures that the qt6_version is available throughout the workflow without needing to redefine it.
This commit is contained in:
parent
e173105afb
commit
63aac11fdb
|
@ -69,8 +69,9 @@ on:
|
|||
- '**/COPYING'
|
||||
|
||||
env:
|
||||
forbuildVariables: use Installer\buildVariables.cmd file
|
||||
#qt_version: 5.15.16
|
||||
qt6_version: 6.3.1
|
||||
#qt6_version: 6.3.1
|
||||
#openssl_version: 3.4.0
|
||||
#ghSsl_user: xanasoft
|
||||
#ghSsl_repo: openssl-builds
|
||||
|
@ -190,6 +191,13 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4.1.7
|
||||
|
||||
- name: Load Variables from buildVariables.cmd
|
||||
shell: cmd
|
||||
run: |
|
||||
@echo on
|
||||
call "${{ github.workspace }}\Installer\buildVariables.cmd"
|
||||
echo qt6_version=%qt6_version% >> %GITHUB_ENV%
|
||||
|
||||
- name: Setup msbuild
|
||||
uses: microsoft/setup-msbuild@v2
|
||||
|
|
Loading…
Reference in New Issue