File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
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+
2632 - name : Install Rust toolchain
2733 uses : dtolnay/rust-toolchain@stable
2834 with :
3541 nif-version : ${{ matrix.nif }}
3642 project-dir : " native/baml_elixir"
3743 project-name : baml_elixir
38- project-version : ${{ github.ref_name }}
44+ project-version : ${{ env.PROJECT_VERSION }}
3945 target : ${{ matrix.job.target }}
4046 use-cross : ${{ matrix.job.use-cross }}
4147
Original file line number Diff line number Diff line change 11defmodule BamlElixir.MixProject do
22 use Mix.Project
33
4- @ version "0.1.0-pre-9 "
4+ @ version "0.1.0-pre-11 "
55
66 def project do
77 [
You can’t perform that action at this time.
0 commit comments