From 737fc09547d97099c112797788add1e043fff47c Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Thu, 6 Apr 2023 14:44:09 +1000 Subject: [PATCH] maybe fix conditionals --- .github/workflows/build-emu.yml | 6 +++--- .github/workflows/build-vst.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-emu.yml b/.github/workflows/build-emu.yml index 82e814d..498f312 100644 --- a/.github/workflows/build-emu.yml +++ b/.github/workflows/build-emu.yml @@ -22,7 +22,7 @@ jobs: toolchain: nightly override: true - uses: awalsh128/cache-apt-pkgs-action@latest - if: ${{ matrix.os }} == ubuntu + if: ${{ matrix.os == 'ubuntu' }} with: packages: libasound2-dev libudev-dev version: 1.0 @@ -32,12 +32,12 @@ jobs: command: build args: --release - uses: actions/upload-artifact@v3 - if: ${{ matrix.os }} != windows + if: ${{ matrix.os != 'windows' }} with: name: gb-emu-${{ matrix.os }} path: target/release/gb-emu - uses: actions/upload-artifact@v3 - if: ${{ matrix.os }} == windows + if: ${{ matrix.os == 'windows' }} with: name: gb-emu-${{ matrix.os }} path: target/release/gb-emu.exe \ No newline at end of file diff --git a/.github/workflows/build-vst.yml b/.github/workflows/build-vst.yml index 1113ee0..f23728f 100644 --- a/.github/workflows/build-vst.yml +++ b/.github/workflows/build-vst.yml @@ -22,19 +22,19 @@ jobs: toolchain: nightly override: true - uses: awalsh128/cache-apt-pkgs-action@latest - if: ${{ matrix.os }} == ubuntu + if: ${{ matrix.os == 'ubuntu' }} with: packages: libasound2-dev libudev-dev xorg-dev libjack-jackd2-dev version: 1.0 - run: rustup update nightly && rustup default nightly - run: git submodule update --init --recursive - uses: actions-rs/cargo@v1 - if: ${{ matrix.os }} != macos + if: ${{ matrix.os != 'macos' }} with: command: xtask args: bundle vst --release - uses: actions-rs/cargo@v1 - if: ${{ matrix.os }} == macos + if: ${{ matrix.os == 'macos' }} with: command: xtask args: bundle-universal vst --release