From 03a0b8a3b476b087233d80f5c5442c456c6f29c4 Mon Sep 17 00:00:00 2001 From: Abdo Date: Wed, 9 Aug 2023 06:31:13 +0300 Subject: [PATCH] Add workflow to publish version with Arabic search --- .github/workflows/arabic.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/arabic.yml diff --git a/.github/workflows/arabic.yml b/.github/workflows/arabic.yml new file mode 100644 index 0000000000..c9e49a8d6c --- /dev/null +++ b/.github/workflows/arabic.yml @@ -0,0 +1,25 @@ +name: Create release with Arabic search support + +on: + create: + tags: + - "arabic-search-*" + +permissions: + contents: write +jobs: + create-release: + name: Create Release + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Install Rust + run: bash ci/install-rust.sh stable + - name: Build + run: cargo build --release --features arabic-search + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: target/release/mdbook