Commit c4d0f1ea81

c4d0f1ea814e2ad5c1585c26bf8a4133e18d5c06

parent: 8b69849059

Unsigned

Pooya Moradi <pvonmoradi@gmail.com> · 2021-08-02 18:38 UTC

github: Remove uploading to repo Releases. Add ubuntu-latest to os list.

Layout: unified · split

.github/workflows/release.yml +8 −11
@@ -8,11 +8,14 @@ jobs:
88 runs-on: ${{ matrix.os }}
99 strategy:
1010 matrix:
11 os: [ubuntu-18.04]
11 os: [ubuntu-18.04, ubuntu-latest]
1212 include:
1313 - os: ubuntu-18.04
1414 artifact_name: libmatrix.so
1515 asset_name: libmatrix.so-ubuntu-18.04
16 - os: ubuntu-latest
17 artifact_name: libmatrix.so
18 asset_name: libmatrix.so-ubuntu-latest
1619 rust:
1720 - stable
1821 fail-fast: false
@@ -54,14 +57,8 @@ jobs:
5457 command: test
5558 args: --release
5659
57 - name: Upload binaries to release
58 uses: svenstaro/upload-release-action@v2
60 - name: Upload binary
61 uses: actions/upload-artifact@v2
5962 with:
60 release_name: ${{ matrix.artifact_name }}
61 repo_token: ${{ secrets.GITHUB_TOKEN }}
62 file: target/release/${{ matrix.artifact_name }}
63 asset_name: ${{ matrix.asset_name }}
64 tag: ${{ github.ref }}
65 overwrite: true
66 prerelease: true
67 body: Unstable binary for `${{ matrix.os }}` built against `${{ steps.build_env.outputs.W_API_V }}`. Rename it to `matrix.so` and put it inside `$WEECHAT_HOME/plugins`
63 name: 'libmatrix.so-${{ matrix.os }}'
64 path: target/release/libmatrix.so