Make the other parts of the workflow conditional

This commit is contained in:
Ethan Smith
2021-09-05 01:36:05 -07:00
committed by andy.boot
parent c485e84145
commit d8a334df3b
+2
View File
@@ -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: |