From 03c5225f11ecd665fc5c44d67831a6d6855c4ccf Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Wed, 15 Dec 2021 13:56:23 +0300 Subject: [PATCH] Revert "Make Linux action auto-restart with -Werror on fail" This reverts commit 9ba1a5ae6ab4eb06e89870918383869e4918b640. --- .github/workflows/linux-kotato.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/.github/workflows/linux-kotato.yml b/.github/workflows/linux-kotato.yml index 1484ec4d4..1d8c65d4b 100644 --- a/.github/workflows/linux-kotato.yml +++ b/.github/workflows/linux-kotato.yml @@ -477,9 +477,7 @@ jobs: cmake --build build --parallel - name: Kotatogram Desktop build. - id: build-kotatogram if: env.ONLY_CACHE == 'false' - continue-on-error: true env: tg_owt_DIR: ${{ env.LibrariesPath }}/tg_owt/build run: | @@ -504,34 +502,6 @@ jobs: cmake --build ../out --config Debug --parallel DESTDIR=../../AppDir cmake --install . - - name: Restart with -Werror on fail - if: env.ONLY_CACHE == 'false' && steps.build-kotatogram.outcome == 'failure' - env: - tg_owt_DIR: ${{ env.LibrariesPath }}/tg_owt/build - run: | - cd $REPO_NAME/Telegram - - DEFINE="" - if [ -n "${{ matrix.defines }}" ]; then - DEFINE="-D ${{ matrix.defines }}=ON" - echo Define from matrix: $DEFINE - echo "ARTIFACT_NAME=Kotatogram_${{ matrix.defines }}" >> $GITHUB_ENV - else - echo "ARTIFACT_NAME=Kotatogram" >> $GITHUB_ENV - fi - - ./configure.sh \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_C_FLAGS="-Werror" \ - -DCMAKE_CXX_FLAGS="-Werror" \ - -DTDESKTOP_API_TEST=ON \ - -DDESKTOP_APP_USE_PACKAGED_LAZY=ON \ - -DDESKTOP_APP_QT6=OFF \ - $DEFINE - - cmake --build ../out --config Debug --parallel - DESTDIR=../../AppDir cmake --install . - - name: AppImage build. if: env.ONLY_CACHE == 'false' run: |