Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
ci: pass JAN_SIGNING_KEY to the agent CLI builds
Minh14112080333c48ea06
diff --git a/.github/workflows/template-cli-build-linux-x64.yml b/.github/workflows/template-cli-build-linux-x64.ymlindex 3a95ca840..a212c07ed 100644--- a/.github/workflows/template-cli-build-linux-x64.yml+++ b/.github/workflows/template-cli-build-linux-x64.yml@@ -25,6 +25,11 @@ on:required: falseDELTA_AWS_REGION:required: false+ # Baked into the binary at compile time via option_env!; without it the+ # released CLI falls back to the local-dev key and its signed requests+ # are rejected.+ JAN_SIGNING_KEY:+ required: falseoutputs:FILE_NAME:value: ${{ jobs.build-linux-x64.outputs.FILE_NAME }}@@ -79,6 +84,7 @@ jobs:env:JAN_CLI_UPDATE_CHANNEL: ${{ inputs.channel }}JAN_CLI_BUILD_VERSION: ${{ inputs.new_version }}+ JAN_SIGNING_KEY: ${{ secrets.JAN_SIGNING_KEY }}run: |cd src-tauricargo build --no-default-features --features cli --bin jan --releasediff --git a/.github/workflows/template-cli-build-macos.yml b/.github/workflows/template-cli-build-macos.ymlindex 9c1186961..5ad0308a0 100644--- a/.github/workflows/template-cli-build-macos.yml+++ b/.github/workflows/template-cli-build-macos.yml@@ -25,6 +25,11 @@ on:required: falseDELTA_AWS_REGION:required: false+ # Baked into the binary at compile time via option_env!; without it the+ # released CLI falls back to the local-dev key and its signed requests+ # are rejected.+ JAN_SIGNING_KEY:+ required: false# Optional code signingCODE_SIGN_P12_BASE64:required: false@@ -67,6 +72,7 @@ jobs:env:JAN_CLI_UPDATE_CHANNEL: ${{ inputs.channel }}JAN_CLI_BUILD_VERSION: ${{ inputs.new_version }}+ JAN_SIGNING_KEY: ${{ secrets.JAN_SIGNING_KEY }}run: |cd src-tauricargo build --no-default-features --features cli --bin jan --release --target x86_64-apple-darwin@@ -75,6 +81,7 @@ jobs:env:JAN_CLI_UPDATE_CHANNEL: ${{ inputs.channel }}JAN_CLI_BUILD_VERSION: ${{ inputs.new_version }}+ JAN_SIGNING_KEY: ${{ secrets.JAN_SIGNING_KEY }}run: |cd src-tauricargo build --no-default-features --features cli --bin jan --release --target aarch64-apple-darwindiff --git a/.github/workflows/template-cli-build-windows-x64.yml b/.github/workflows/template-cli-build-windows-x64.ymlindex 0f5a4608d..101cc1652 100644--- a/.github/workflows/template-cli-build-windows-x64.yml+++ b/.github/workflows/template-cli-build-windows-x64.yml@@ -25,6 +25,11 @@ on:required: falseDELTA_AWS_REGION:required: false+ # Baked into the binary at compile time via option_env!; without it the+ # released CLI falls back to the local-dev key and its signed requests+ # are rejected.+ JAN_SIGNING_KEY:+ required: falseoutputs:FILE_NAME:value: ${{ jobs.build-windows-x64.outputs.FILE_NAME }}@@ -55,6 +60,7 @@ jobs:env:JAN_CLI_UPDATE_CHANNEL: ${{ inputs.channel }}JAN_CLI_BUILD_VERSION: ${{ inputs.new_version }}+ JAN_SIGNING_KEY: ${{ secrets.JAN_SIGNING_KEY }}run: |cd src-tauricargo build --no-default-features --features cli --bin jan --release