From: Ilya Shipitsin Date: Fri, 7 Jan 2022 15:09:35 +0000 (+0500) Subject: CI: github actions: clean default step conditions X-Git-Tag: v2.5.1~1 X-Git-Url: http://git.haproxy.org/?a=commitdiff_plain;h=e7228ed421056d4f074591216e7f3d7bc0532230;p=haproxy-2.5.git CI: github actions: clean default step conditions step condition "if: ${{ !failure() }}" was added in 2ef4c7c84363f5a9b80a2093df1370514319db28 during my experiments. As Tim Düsterhus mentioned, that condition is default and may be omitted. (cherry picked from commit 65eab587a2ce58f2c8b92d03568a33ee7dc45528) Signed-off-by: Christopher Faulet --- diff --git a/.github/workflows/vtest.yml b/.github/workflows/vtest.yml index 3c3fbf6..b67090a 100644 --- a/.github/workflows/vtest.yml +++ b/.github/workflows/vtest.yml @@ -84,7 +84,6 @@ jobs: ADDLIB="-Wl,-rpath,/usr/local/lib/ -Wl,-rpath,$HOME/opt/lib/" sudo make install - name: Show HAProxy version - if: ${{ !failure() }} id: show-version run: | echo "::group::Show dynamic libraries." @@ -99,11 +98,9 @@ jobs: haproxy -vv echo "::set-output name=version::$(haproxy -v |awk 'NR==1{print $3}')" - name: Install problem matcher for VTest - if: ${{ !failure() }} # This allows one to more easily see which tests fail. run: echo "::add-matcher::.github/vtest.json" - name: Run VTest for HAProxy ${{ steps.show-version.outputs.version }} - if: ${{ !failure() }} id: vtest run: | # This is required for macOS which does not actually allow to increase