Commit f96b5e55aa
Unsigned
Layout: unified · split
.github/workflows/release.yml +7 −14
| @@ -37,28 +37,21 @@ jobs: | |||
| 37 | echo "::set-output name=W_API_V::$v" | 37 | echo "::set-output name=W_API_V::$v" |
| 38 | 38 | ||
| 39 | - name: Checkout sources | 39 | - name: Checkout sources |
| 40 | uses: actions/checkout@v2 | 40 | uses: actions/checkout@v4 |
| 41 | 41 | ||
| 42 | - name: Install toolchain | 42 | - name: Install toolchain |
| 43 | uses: actions-rs/toolchain@v1 | 43 | run: | |
| 44 | with: | 44 | rustup update --no-self-update |
| 45 | toolchain: stable | 45 | rustup default stable |
| 46 | override: true | ||
| 47 | 46 | ||
| 48 | - name: Run cargo build | 47 | - name: Run cargo build |
| 49 | uses: actions-rs/cargo@v1 | 48 | run: cargo build --release |
| 50 | with: | ||
| 51 | command: build | ||
| 52 | args: --release | ||
| 53 | 49 | ||
| 54 | - name: Run cargo test | 50 | - name: Run cargo test |
| 55 | uses: actions-rs/cargo@v1 | 51 | run: cargo test --release |
| 56 | with: | ||
| 57 | command: test | ||
| 58 | args: --release | ||
| 59 | 52 | ||
| 60 | - name: Upload binary | 53 | - name: Upload binary |
| 61 | uses: actions/upload-artifact@v2 | 54 | uses: actions/upload-artifact@v4 |
| 62 | with: | 55 | with: |
| 63 | name: 'libmatrix.so-${{ matrix.os }}' | 56 | name: 'libmatrix.so-${{ matrix.os }}' |
| 64 | path: target/release/libmatrix.so | 57 | path: target/release/libmatrix.so |