From d8a334df3b916034cc72531198f1d185a1cb3788 Mon Sep 17 00:00:00 2001 From: Ethan Smith Date: Sun, 5 Sep 2021 01:36:05 -0700 Subject: [PATCH] Make the other parts of the workflow conditional --- .github/workflows/CICD.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index b430fa3..55c94d9 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -210,6 +210,7 @@ jobs: with: command: install args: cargo-deb + if: ${{ contains(matrix.job.target, 'musl') }} - name: Build deb uses: actions-rs/cargo@v1 with: @@ -232,6 +233,7 @@ jobs: with: name: ${{ env.PROJECT_NAME }}-${{ matrix.job.target }}.deb path: target/${{ matrix.job.target }}/debian + if: ${{ contains(matrix.job.target, 'musl') }} - name: Package shell: bash run: |