mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-06 03:18:19 +00:00
Refactor conditions for removing unnecessary files and uploading dist object in Windows release build
This commit is contained in:
4
.github/workflows/windows-release-build.yml
vendored
4
.github/workflows/windows-release-build.yml
vendored
@@ -277,14 +277,14 @@ jobs:
|
|||||||
path: ./zen.win64-pgo-stage-1.zip
|
path: ./zen.win64-pgo-stage-1.zip
|
||||||
|
|
||||||
- name: Remove unnecessary files from obj
|
- name: Remove unnecessary files from obj
|
||||||
if: ${{ !inputs.generate-gpo && inputs.release-branch == 'stable' }}
|
if: ${{ !inputs.generate-gpo }}
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
mkdir obj-${{ matrix.arch }}-pc-windows-msvc/
|
mkdir obj-${{ matrix.arch }}-pc-windows-msvc/
|
||||||
cp -r --no-dereference engine/obj-${{ matrix.arch }}-pc-windows-msvc/* obj-${{ matrix.arch }}-pc-windows-msvc/ || true
|
cp -r --no-dereference engine/obj-${{ matrix.arch }}-pc-windows-msvc/* obj-${{ matrix.arch }}-pc-windows-msvc/ || true
|
||||||
|
|
||||||
- name: Upload dist object
|
- name: Upload dist object
|
||||||
if: ${{ !inputs.generate-gpo && inputs.release-branch == 'stable' }}
|
if: ${{ !inputs.generate-gpo }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
retention-days: 2
|
retention-days: 2
|
||||||
|
Reference in New Issue
Block a user