diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4a53b2d1..b40a777c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -10,10 +10,10 @@ jobs: - name: Install alsa run: sudo apt update && sudo apt install libasound2-dev libgtk-3-dev - uses: Swatinem/rust-cache@v1 - - name: Build - run: cargo build --release --verbose - # - name: Run tests - # run: cargo test --verbose + - uses: actions-rs/cargo@v1 + with: + command: build + args: --release - name: Chmod +x run: chmod +x target/release/neothesia - name: zip binary @@ -27,10 +27,10 @@ jobs: steps: - uses: actions/checkout@v2 - uses: Swatinem/rust-cache@v1 - - name: Build - run: cargo build --release --verbose - # - name: Run tests - # run: cargo test --verbose + - uses: actions-rs/cargo@v1 + with: + command: build + args: --release - uses: actions/upload-artifact@v2 with: name: windows-artifact @@ -40,8 +40,10 @@ jobs: steps: - uses: actions/checkout@v2 - uses: Swatinem/rust-cache@v1 - - name: Build - run: cargo build --release --verbose + - uses: actions-rs/cargo@v1 + with: + command: build + args: --release - name: copy binary run: cp target/release/neothesia .github/app/Neothesia.app/Contents/MacOS - name: zip binary