Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

disable cachix (#4422)

teo11a125d0aebb
diff --git a/.github/actions/setup-cachix/action.yml b/.github/actions/setup-cachix/action.yml
index eb8361f465..fc465c9873 100644
--- a/.github/actions/setup-cachix/action.yml
+++ b/.github/actions/setup-cachix/action.yml
@@ -10,6 +10,10 @@ inputs:
description: Cachix cache name.
required: false
default: macro-inc
+ enable-cachix:
+ description: Configure the Cachix binary cache.
+ required: false
+ default: 'true'
dev-shell:
description: Enter the repository Nix dev shell after configuring Cachix.
required: false
@@ -31,6 +35,7 @@ runs:
using: composite
steps:
- name: Configure Cachix
+ if: ${{ inputs.enable-cachix == 'true' }}
shell: bash
env:
CACHIX_AUTH_TOKEN: ${{ inputs.cachix-auth-token }}
diff --git a/.github/actions/setup-reqs-web/action.yml b/.github/actions/setup-reqs-web/action.yml
index 132e1988c2..26cf9b1dad 100644
--- a/.github/actions/setup-reqs-web/action.yml
+++ b/.github/actions/setup-reqs-web/action.yml
@@ -13,6 +13,10 @@ inputs:
description: Optional S3 bucket for shared sccache storage.
required: false
default: ''
+ enable-cachix:
+ description: Configure the Cachix binary cache.
+ required: false
+ default: 'true'
runs:
using: composite
@@ -21,6 +25,7 @@ runs:
uses: ./.github/actions/setup-cachix
with:
cachix-auth-token: ${{ inputs.cachix-auth-token }}
+ enable-cachix: ${{ inputs.enable-cachix }}
dev-shell: 'true'
sccache-bucket: ${{ inputs.sccache-bucket }}
diff --git a/.github/workflows/deploy-web-app.yml b/.github/workflows/deploy-web-app.yml
index 5584fd6a43..e88a8be413 100644
--- a/.github/workflows/deploy-web-app.yml
+++ b/.github/workflows/deploy-web-app.yml
@@ -62,6 +62,7 @@ jobs:
uses: ./.github/actions/setup-reqs-web
with:
cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
+ enable-cachix: 'false'
sccache-bucket: ${{ vars.SCCACHE_BUCKET || secrets.SCCACHE_BUCKET }}
- name: Build
working-directory: js/app