diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d42a1bc..2e61a69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,9 +4,12 @@ on: push: branches: - main + jobs: main: runs-on: ubuntu-latest + env: + CANDLEX_BUILD: true strategy: fail-fast: false matrix: diff --git a/lib/candlex/native.ex b/lib/candlex/native.ex index 50a07f9..c86804a 100644 --- a/lib/candlex/native.ex +++ b/lib/candlex/native.ex @@ -8,7 +8,7 @@ defmodule Candlex.Native do otp_app: :candlex, features: Application.compile_env(:candlex, :crate_features, []), base_url: "#{source_url}/releases/download/v#{version}", - force_build: System.get_env("BUILD") in ["1", "true"], + force_build: System.get_env("CANDLEX_BUILD") in ["1", "true"], version: version # Rustler will override all the below stub functions with real NIFs