Skip to content

Commit

Permalink
fix(ci): use alt if step syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc committed Nov 25, 2023
1 parent bb5ff16 commit 4a3a974
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/linux-eic-shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,10 @@ jobs:
if-no-files-found: error
# Only compress and upload build directory if we are going to use it later
- name: Compress build directory
if: ${{ matrix.CC }} == ${{ env.clang-tidy-iwyu-CC }}
&& ${{ matrix.CMAKE_BUILD_TYPE }} == ${{ env.clang-tidy-iwyu-CMAKE_BUILD_TYPE }}
if: matrix.CC == env.clang-tidy-iwyu-CC && matrix.CMAKE_BUILD_TYPE == env.clang-tidy-iwyu-CMAKE_BUILD_TYPE
run: tar -czf build.tar.gz build/
- name: Upload build directory
if: ${{ matrix.CC }} == ${{ env.clang-tidy-iwyu-CC }}
&& ${{ matrix.CMAKE_BUILD_TYPE }} == ${{ env.clang-tidy-iwyu-CMAKE_BUILD_TYPE }}
if: matrix.CC == env.clang-tidy-iwyu-CC && matrix.CMAKE_BUILD_TYPE == env.clang-tidy-iwyu-CMAKE_BUILD_TYPE
uses: actions/upload-artifact@v3
with:
name: build-${{ matrix.CC }}-eic-shell-${{ matrix.CMAKE_BUILD_TYPE }}
Expand Down

0 comments on commit 4a3a974

Please sign in to comment.