From e72f2e424558762ccaddef0a5eacc255f7867c13 Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Sun, 21 Jul 2024 09:56:52 +0200 Subject: [PATCH] Fixed workflow issues --- .github/workflows/windows-alpha-build.yml | 2 +- configs/common/mozconfig | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows-alpha-build.yml b/.github/workflows/windows-alpha-build.yml index ba6bf7699..120bc3a75 100644 --- a/.github/workflows/windows-alpha-build.yml +++ b/.github/workflows/windows-alpha-build.yml @@ -117,7 +117,7 @@ jobs: - uses: actions/download-artifact@v4 name: Download artifact if use profdata - if: !inputs.generate-gpo + if: ${{ !inputs.generate-gpo }} with: name: ${{ inputs.profile-data-path }} path: ~/artifact diff --git a/configs/common/mozconfig b/configs/common/mozconfig index f2ea3d3f0..3eff8de1f 100644 --- a/configs/common/mozconfig +++ b/configs/common/mozconfig @@ -77,10 +77,10 @@ if test "$ZEN_RELEASE"; then ac_add_options RUSTC_OPT_LEVEL="3" # PGO may cause link errors on windows! - #if ! test "$ZEN_CROSS_COMPILING"; then + if ! test "$ZEN_CROSS_COMPILING"; then export MOZ_PGO=1 ac_add_options MOZ_PGO=1 - #fi + fi mk_add_options 'export RUSTC_WRAPPER=/home/runner/.mozbuild/sccache/sccache' mk_add_options 'export CCACHE_CPP2=yes'