From dea5295639ca0a2e183f91113b41a1b94038633e Mon Sep 17 00:00:00 2001 From: Ayooluwa Isaiah Date: Sat, 14 Oct 2023 15:33:36 +0200 Subject: [PATCH] install libasound2-dev on Ubuntu only --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 223475c..eb27fa2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,6 +95,7 @@ jobs: - name: Install libasound2-dev run: sudo apt install libasound2-dev + if: matrix.os == 'ubuntu-latest' - name: Run tests run: go test ./... -race @@ -115,6 +116,7 @@ jobs: - name: Install libasound2-dev run: sudo apt install libasound2-dev + if: matrix.os == 'ubuntu-latest' - name: Create stable release uses: softprops/action-gh-release@v1