maybe fix conditionals
This commit is contained in:
parent
cf99ec6e0f
commit
737fc09547
6
.github/workflows/build-emu.yml
vendored
6
.github/workflows/build-emu.yml
vendored
|
@ -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
|
6
.github/workflows/build-vst.yml
vendored
6
.github/workflows/build-vst.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue