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 toolchain: nightly
override: true override: true
- uses: awalsh128/cache-apt-pkgs-action@latest - uses: awalsh128/cache-apt-pkgs-action@latest
if: ${{ matrix.os }} == ubuntu if: ${{ matrix.os == 'ubuntu' }}
with: with:
packages: libasound2-dev libudev-dev packages: libasound2-dev libudev-dev
version: 1.0 version: 1.0
@ -32,12 +32,12 @@ jobs:
command: build command: build
args: --release args: --release
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
if: ${{ matrix.os }} != windows if: ${{ matrix.os != 'windows' }}
with: with:
name: gb-emu-${{ matrix.os }} name: gb-emu-${{ matrix.os }}
path: target/release/gb-emu path: target/release/gb-emu
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
if: ${{ matrix.os }} == windows if: ${{ matrix.os == 'windows' }}
with: with:
name: gb-emu-${{ matrix.os }} name: gb-emu-${{ matrix.os }}
path: target/release/gb-emu.exe path: target/release/gb-emu.exe

View file

@ -22,19 +22,19 @@ jobs:
toolchain: nightly toolchain: nightly
override: true override: true
- uses: awalsh128/cache-apt-pkgs-action@latest - uses: awalsh128/cache-apt-pkgs-action@latest
if: ${{ matrix.os }} == ubuntu if: ${{ matrix.os == 'ubuntu' }}
with: with:
packages: libasound2-dev libudev-dev xorg-dev libjack-jackd2-dev packages: libasound2-dev libudev-dev xorg-dev libjack-jackd2-dev
version: 1.0 version: 1.0
- run: rustup update nightly && rustup default nightly - run: rustup update nightly && rustup default nightly
- run: git submodule update --init --recursive - run: git submodule update --init --recursive
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
if: ${{ matrix.os }} != macos if: ${{ matrix.os != 'macos' }}
with: with:
command: xtask command: xtask
args: bundle vst --release args: bundle vst --release
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
if: ${{ matrix.os }} == macos if: ${{ matrix.os == 'macos' }}
with: with:
command: xtask command: xtask
args: bundle-universal vst --release args: bundle-universal vst --release