From 78f2147d0671718db8c59ab0309523b36b259ac8 Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Wed, 2 Oct 2024 14:29:25 -0700 Subject: [PATCH] Next try --- .github/workflows/build-dev-and-ci.yml | 5 +---- .github/workflows/build-production.yml | 5 +---- .github/workflows/comment-!build-commands.yml | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-dev-and-ci.yml b/.github/workflows/build-dev-and-ci.yml index 35d613de1..5ab2ceb82 100644 --- a/.github/workflows/build-dev-and-ci.yml +++ b/.github/workflows/build-dev-and-ci.yml @@ -46,9 +46,6 @@ jobs: echo "Latest updated version:" rustc --version - - name: 🔧 Add .cargo/bin to PATH - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - name: 📜 Prepare to install Rust dependencies uses: cargo-bins/cargo-binstall@main @@ -70,7 +67,7 @@ jobs: NODE_ENV: production run: | cd frontend - npm run build + PATH=~/.cargo/bin:$PATH npm run build - name: 📤 Publish to Cloudflare Pages id: cloudflare diff --git a/.github/workflows/build-production.yml b/.github/workflows/build-production.yml index f42148c5b..8047941df 100644 --- a/.github/workflows/build-production.yml +++ b/.github/workflows/build-production.yml @@ -43,9 +43,6 @@ jobs: echo "Latest updated version:" rustc --version - - name: 🔧 Add .cargo/bin to PATH - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - name: 📜 Prepare to install Rust dependencies uses: cargo-bins/cargo-binstall@main @@ -65,7 +62,7 @@ jobs: NODE_ENV: production run: | cd frontend - npm run build + PATH=~/.cargo/bin:$PATH npm run build - name: 📤 Publish to Cloudflare Pages id: cloudflare diff --git a/.github/workflows/comment-!build-commands.yml b/.github/workflows/comment-!build-commands.yml index c8e9a4a96..5db7b3b1c 100644 --- a/.github/workflows/comment-!build-commands.yml +++ b/.github/workflows/comment-!build-commands.yml @@ -69,9 +69,6 @@ jobs: echo "Latest updated version:" rustc --version - - name: 🔧 Add .cargo/bin to PATH - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - name: 📜 Prepare to install Rust dependencies uses: cargo-bins/cargo-binstall@main @@ -106,7 +103,7 @@ jobs: NODE_ENV: production run: | cd frontend - npm run ${{ steps.build_command.outputs.command }} + PATH=~/.cargo/bin:$PATH npm run ${{ steps.build_command.outputs.command }} - name: 📤 Publish to Cloudflare Pages id: cloudflare