File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 2323 with :
2424 submodules : recursive
2525
26- - name : Extract crate information
27- shell : bash
28- run : |
29- # Get the project version from mix.exs
30- echo "PROJECT_VERSION=$(sed -n 's/^ @version "\(.*\)"/\1/p' mix.exs | head -n1)" >> $GITHUB_ENV
31-
3226 - name : Install Rust toolchain
3327 uses : dtolnay/rust-toolchain@stable
3428 with :
4135 nif-version : ${{ matrix.nif }}
4236 project-dir : " native/baml_elixir"
4337 project-name : baml_elixir
44- project-version : ${{ env.PROJECT_VERSION }}
38+ project-version : ${{ github.ref_name }}
4539 target : ${{ matrix.job.target }}
4640 use-cross : ${{ matrix.job.use-cross }}
4741
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ defmodule BamlElixir.Native do
33
44 use RustlerPrecompiled ,
55 otp_app: :baml_elixir ,
6- base_url: "https://github.com/emilsoman/baml-elixir/releases/download/v #{ version } /" ,
6+ base_url: "https://github.com/emilsoman/baml-elixir/releases/download/#{ version } /" ,
77 force_build: System . get_env ( "BAML_ELIXIR_BUILD" ) in [ "1" , "true" ] ,
88 version: version
99
You can’t perform that action at this time.
0 commit comments