From 6f5946098ffe93d8308a1d2a069650b0234c30a8 Mon Sep 17 00:00:00 2001 From: Guillermo Valin Date: Thu, 30 Jan 2025 19:39:08 -0300 Subject: [PATCH] Update CI/CD. --- .github/workflows/build_tools.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_tools.yaml b/.github/workflows/build_tools.yaml index 81aad4fe..b058009a 100644 --- a/.github/workflows/build_tools.yaml +++ b/.github/workflows/build_tools.yaml @@ -13,10 +13,9 @@ on: required: true type: boolean default: true - have_run_tests: - description: 'Have you run tests successfully?' - required: true - type: boolean + environment: + type: environment + default: "development" jobs: build_tools: @@ -45,6 +44,9 @@ jobs: run: | sudo apt-get update sudo apt-get install -y curl jq zip unzip coreutils + echo "environment: ${{ inputs.environment }}" + echo ${{ vars }} + echo ${{ secrets }} - name: Run node in background id: run_node @@ -60,7 +62,7 @@ jobs: INITIALIZATION_DATA: ${{ secrets.INITIALIZATION_DATA }} DOWNLOAD_PREFIX: ${{ inputs.use_dev_prefix && 'https://download.shinkai.com/dev-tools-' || 'https://download.shinkai.com/tools-' }}${{ inputs.node_version }} SKIP_IMPORT_FROM_DIRECTORY: true - SHINKAI_STORE_ADDR: "https://shinkai-store-302883622007.us-central1.run.app" + SHINKAI_STORE_ADDR: ${{ inputs.use_dev_prefix && 'https://shinkai-store-dev-302883622007.us-central1.run.app' || 'https://shinkai-store-302883622007.us-central1.run.app' }} SHINKAI_STORE_TOKEN: ${{ secrets.SHINKAI_STORE_TOKEN }} USE_DOCKER: true SHINKAI_NODE_IMAGE: "dcsparkdevops/shinkai-node:${{ inputs.node_version }}"