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