]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: github actions: clean default step conditions
authorIlya Shipitsin <chipitsine@gmail.com>
Fri, 7 Jan 2022 15:09:35 +0000 (20:09 +0500)
committerWilly Tarreau <w@1wt.eu>
Tue, 11 Jan 2022 14:00:55 +0000 (15:00 +0100)
step condition "if: ${{ !failure() }}" was added in 2ef4c7c84363f5a9b80a2093df1370514319db28
during my experiments. As Tim Düsterhus mentioned, that condition is default and may be omitted.

.github/workflows/vtest.yml

index 121c37d4e68fcc85372b9351cf5bb3a8c441a550..421384b46bc126c03434ed4b0f9056aca9905413 100644 (file)
@@ -87,7 +87,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."
@@ -102,11 +101,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