maybe fix conditionals

This commit is contained in:
Alex Janka 2023-04-06 14:44:09 +10:00
parent cf99ec6e0f
commit 737fc09547
2 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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