Skip to content

Update tokenizer dependency to new minor and chain changes (#62) #70

Update tokenizer dependency to new minor and chain changes (#62)

Update tokenizer dependency to new minor and chain changes (#62) #70

Workflow file for this run

name: Docs on GitHub pages
on:
push:
branches:
- main
concurrency:
group: ${{ github.ref }}-docs
cancel-in-progress: true
env:
ELIXIR_VERSION: 1.13
OTP_VERSION: 24.2
TOKENIZERS_BUILD: "true"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
native/ex_tokenizers/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: erlef/setup-beam@v1
with:
otp-version: "${{ env.OTP_VERSION }}"
elixir-version: "${{ env.ELIXIR_VERSION }}"
- run: mix deps.get
- run: mix docs
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: doc