diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d3135565..6705d03d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,7 +29,7 @@ build-clazy: -DCI_BUILD=ON -DFETCHCONTENT_QUIET=OFF -DCMAKE_CXX_COMPILER=clazy - cmake --build build rules: - - if : '!$CI_PIPELINE_TRIGGERED' + - if : '$CI_PIPELINE_TRIGGERED == null' cache: key: "$CI_JOB_NAME" paths: @@ -66,7 +66,7 @@ build-gcc11: after_script: - mv ../.hunter .hunter rules: - - if : '!$CI_PIPELINE_TRIGGERED' + - if : '$CI_PIPELINE_TRIGGERED == null' cache: key: "$CI_JOB_NAME" paths: @@ -105,7 +105,7 @@ build-gcc10: after_script: - mv ../.hunter .hunter rules: - - if : '!$CI_PIPELINE_TRIGGERED' + - if : '$CI_PIPELINE_TRIGGERED == null' cache: key: "$CI_JOB_NAME" paths: @@ -135,7 +135,7 @@ build-macos: after_script: - mv ../.hunter .hunter rules: - - if : '!$CI_PIPELINE_TRIGGERED' + - if : '$CI_PIPELINE_TRIGGERED == null' artifacts: paths: - build/nheko.app @@ -196,7 +196,7 @@ build-flatpak-amd64: - (cd ./scripts && ./upload-to-flatpak-repo.sh ../build-flatpak/repo) || true - bash ./.ci/upload-nightly-gitlab.sh build-flatpak/nheko-amd64.flatpak rules: - - if : '!$CI_PIPELINE_TRIGGERED' + - if : '$CI_PIPELINE_TRIGGERED == null' cache: key: "$CI_JOB_NAME" paths: @@ -226,7 +226,7 @@ build-flatpak-arm64: - (cd ./scripts && ./upload-to-flatpak-repo.sh ../build-flatpak/repo) || true - bash ./.ci/upload-nightly-gitlab.sh build-flatpak/nheko-arm64.flatpak rules: - - if : '!$CI_PIPELINE_TRIGGERED' + - if : '$CI_PIPELINE_TRIGGERED == null' cache: key: "$CI_JOB_NAME" paths: @@ -249,5 +249,5 @@ linting: - make lint - make license rules: - - if : '!$CI_PIPELINE_TRIGGERED' + - if : '$CI_PIPELINE_TRIGGERED == null'