Commit f96b5e55aa

f96b5e55aab53113a4ad3a34ff5e27aa47f0686d

parent: e8ece58674

Unsigned

Jakub Panek <me@panekj.dev> · 2024-09-03 19:33 UTC
committer: <poljar@termina.org.uk>

github: remove deprecated actions

Layout: unified · split

.github/workflows/release.yml +7 −14
@@ -37,28 +37,21 @@ jobs:
3737 echo "::set-output name=W_API_V::$v"
3838
3939 - name: Checkout sources
40 uses: actions/checkout@v2
40 uses: actions/checkout@v4
4141
4242 - name: Install toolchain
43 uses: actions-rs/toolchain@v1
44 with:
45 toolchain: stable
46 override: true
43 run: |
44 rustup update --no-self-update
45 rustup default stable
4746
4847 - name: Run cargo build
49 uses: actions-rs/cargo@v1
50 with:
51 command: build
52 args: --release
48 run: cargo build --release
5349
5450 - name: Run cargo test
55 uses: actions-rs/cargo@v1
56 with:
57 command: test
58 args: --release
51 run: cargo test --release
5952
6053 - name: Upload binary
61 uses: actions/upload-artifact@v2
54 uses: actions/upload-artifact@v4
6255 with:
6356 name: 'libmatrix.so-${{ matrix.os }}'
6457 path: target/release/libmatrix.so