mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 10:37:41 +08:00
Add debian package in CI
This commit is contained in:
parent
fc8182d7d3
commit
51636402c2
2
.github/workflows/README.md
vendored
2
.github/workflows/README.md
vendored
@ -8,4 +8,4 @@
|
|||||||
|
|
||||||
- On each pull request, we are triggering `cargo test`.
|
- On each pull request, we are triggering `cargo test`.
|
||||||
- On each commit on master, we are building the latest docker image.
|
- On each commit on master, we are building the latest docker image.
|
||||||
- On each tag, we are building the tagged docker image and the binaries for MacOS & Ubuntu.
|
- On each tag, we are building the tagged docker image, the binaries for MacOS & Ubuntu, and the debian package.
|
||||||
|
28
.github/workflows/publish-deb-pkg.yml
vendored
Normal file
28
.github/workflows/publish-deb-pkg.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
name: Publish debian package to GitHub release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
name: Publish debian packagge
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: hecrj/setup-rust-action@master
|
||||||
|
with:
|
||||||
|
rust-version: stable
|
||||||
|
- name: Install cargo-deb
|
||||||
|
run: cargo install cargo-deb
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Build deb package
|
||||||
|
run: cargo deb -p meilisearch-http -o target/debian/meilisearch.deb
|
||||||
|
- name: Upload debian pkg to release
|
||||||
|
uses: svenstaro/upload-release-action@v1-release
|
||||||
|
with:
|
||||||
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
file: target/debian/meilisearch.deb
|
||||||
|
asset_name: meilisearch.deb
|
||||||
|
tag: ${{ github.ref }}
|
@ -1,6 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "meilisearch-core"
|
name = "meilisearch-core"
|
||||||
version = "0.8.4"
|
version = "0.8.4"
|
||||||
|
license = "MIT"
|
||||||
authors = ["Kerollmops <clement@meilisearch.com>"]
|
authors = ["Kerollmops <clement@meilisearch.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "meilisearch-http"
|
name = "meilisearch-http"
|
||||||
|
description = "MeiliSearch HTTP server"
|
||||||
version = "0.8.4"
|
version = "0.8.4"
|
||||||
|
license = "MIT"
|
||||||
authors = [
|
authors = [
|
||||||
"Quentin de Quelen <quentin@dequelen.me>",
|
"Quentin de Quelen <quentin@dequelen.me>",
|
||||||
"Clément Renault <clement@meilisearch.com>",
|
"Clément Renault <clement@meilisearch.com>",
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "meilisearch-schema"
|
name = "meilisearch-schema"
|
||||||
version = "0.8.4"
|
version = "0.8.4"
|
||||||
|
license = "MIT"
|
||||||
authors = ["Kerollmops <renault.cle@gmail.com>"]
|
authors = ["Kerollmops <renault.cle@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "meilisearch-tokenizer"
|
name = "meilisearch-tokenizer"
|
||||||
version = "0.8.4"
|
version = "0.8.4"
|
||||||
|
license = "MIT"
|
||||||
authors = ["Kerollmops <renault.cle@gmail.com>"]
|
authors = ["Kerollmops <renault.cle@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "meilisearch-types"
|
name = "meilisearch-types"
|
||||||
version = "0.8.4"
|
version = "0.8.4"
|
||||||
|
license = "MIT"
|
||||||
authors = ["Clément Renault <renault.cle@gmail.com>"]
|
authors = ["Clément Renault <renault.cle@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user