Skip to content

Commit

Permalink
Update CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
guillevalin committed Jan 30, 2025
1 parent 6f59460 commit 0b1d343
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/build_tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y curl jq zip unzip coreutils
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Rust
uses: actions-rs/toolchain@v1
Expand All @@ -40,14 +46,6 @@ jobs:
with:
deno-version: v2.x

- name: Install dependencies
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
env:
Expand All @@ -60,9 +58,9 @@ jobs:
SHINKAI_NODE_ADDR: "http://localhost:9550"
BEARER_TOKEN: ${{ secrets.API_V2_KEY }}
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 }}
DOWNLOAD_PREFIX: ${{ vars.DOWNLOAD_PREFIX }}
SKIP_IMPORT_FROM_DIRECTORY: true
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_ADDR: ${{ vars.SHINKAI_STORE_ADDR }}
SHINKAI_STORE_TOKEN: ${{ secrets.SHINKAI_STORE_TOKEN }}
USE_DOCKER: true
SHINKAI_NODE_IMAGE: "dcsparkdevops/shinkai-node:${{ inputs.node_version }}"
Expand Down

0 comments on commit 0b1d343

Please sign in to comment.