Commit c4d0f1ea81
Unsigned
Layout: unified · split
.github/workflows/release.yml +8 −11
| @@ -8,11 +8,14 @@ jobs: | ||
| 8 | 8 | runs-on: ${{ matrix.os }} |
| 9 | 9 | strategy: |
| 10 | 10 | matrix: |
| 11 | os: [ubuntu-18.04] | |
| 11 | os: [ubuntu-18.04, ubuntu-latest] | |
| 12 | 12 | include: |
| 13 | 13 | - os: ubuntu-18.04 |
| 14 | 14 | artifact_name: libmatrix.so |
| 15 | 15 | asset_name: libmatrix.so-ubuntu-18.04 |
| 16 | - os: ubuntu-latest | |
| 17 | artifact_name: libmatrix.so | |
| 18 | asset_name: libmatrix.so-ubuntu-latest | |
| 16 | 19 | rust: |
| 17 | 20 | - stable |
| 18 | 21 | fail-fast: false |
| @@ -54,14 +57,8 @@ jobs: | ||
| 54 | 57 | command: test |
| 55 | 58 | args: --release |
| 56 | 59 | |
| 57 | - name: Upload binaries to release | |
| 58 | uses: svenstaro/upload-release-action@v2 | |
| 60 | - name: Upload binary | |
| 61 | uses: actions/upload-artifact@v2 | |
| 59 | 62 | 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 | |