mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-06 18:40:23 +00:00
Package to /install
This commit is contained in:
parent
aa0a15a126
commit
6d6d73eca4
14
.github/workflows/windows.yml
vendored
14
.github/workflows/windows.yml
vendored
@ -140,9 +140,8 @@ jobs:
|
|||||||
cp plugins/iconengines/qsvgicon.dll ${{ github.workspace }}/install/iconengines
|
cp plugins/iconengines/qsvgicon.dll ${{ github.workspace }}/install/iconengines
|
||||||
|
|
||||||
- name: Move pdb files
|
- name: Move pdb files
|
||||||
if: ${{ ! inputs.package }}
|
|
||||||
run: |
|
run: |
|
||||||
robocopy install pdb *.pdb /MOVE
|
robocopy ${{ inputs.package && 'build' || 'install' }} pdb *.pdb /MOVE
|
||||||
if ($lastexitcode -lt 8) {
|
if ($lastexitcode -lt 8) {
|
||||||
$global:LASTEXITCODE = $null
|
$global:LASTEXITCODE = $null
|
||||||
}
|
}
|
||||||
@ -154,8 +153,13 @@ jobs:
|
|||||||
rm -rf install/bin
|
rm -rf install/bin
|
||||||
rm -rf install/_deps
|
rm -rf install/_deps
|
||||||
|
|
||||||
|
- name: Package OpenMW
|
||||||
|
if: ${{ inputs.package }}
|
||||||
|
run: |
|
||||||
|
echo "${{ env.VCToolsRedistDir }}"
|
||||||
|
cpack --config "${{ github.workspace }}/build/CPackConfig.cmake" -B "${{ github.workspace }}/install"
|
||||||
|
|
||||||
- name: Generate CI-ID.txt
|
- name: Generate CI-ID.txt
|
||||||
if: ${{ ! inputs.package }}
|
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
@ -164,10 +168,6 @@ jobs:
|
|||||||
printf "Ref ${{ github.ref }}\nJob ${job_url}\nCommit ${{ github.sha }}\n" > install/CI-ID.txt
|
printf "Ref ${{ github.ref }}\nJob ${job_url}\nCommit ${{ github.sha }}\n" > install/CI-ID.txt
|
||||||
cp install/CI-ID.txt pdb/CI-ID.txt
|
cp install/CI-ID.txt pdb/CI-ID.txt
|
||||||
|
|
||||||
- name: Package OpenMW
|
|
||||||
if: ${{ inputs.package }}
|
|
||||||
run: cpack --config "${{ github.workspace }}/build/CPackConfig.cmake"
|
|
||||||
|
|
||||||
- name: Store OpenMW archived pdb files
|
- name: Store OpenMW archived pdb files
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user