From 1dbe5b37f33b64b4de7cd297fd26f66cede5531e Mon Sep 17 00:00:00 2001 From: Chukwuemeka Ajima Date: Sat, 16 Jul 2022 04:52:33 +0200 Subject: [PATCH] fix(github-actions): fix github actions to run bun commands --- .github/workflows/publish.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 96158e0..71f9858 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,11 +21,14 @@ jobs: run: curl https://bun.sh/install | bash - name: setup bun PATH run: | - export BUN_INSTALL="/home/runner/.bun" - echo PATH="$GITHUB_WORKSPACE/.bun/bin:$PATH" >> $GITHUB_PATH - echo ":::::::::::::::::::::::::::::::::::::::::::::::::::::: - bun - echo ":::::::::::::::::::::::::::::::::::::::::::::::::::::: + echo "home/runner/.bun/bin/bun" >> $GITHUB_PATH + # echo PATH="$GITHUB_WORKSPACE/.bun/bin:$PATH" >> $GITHUB_PATH + + echo "::::::::::::::::::::::::::::::::::::::::::::::::::::::" + which bun + echo $GITHUB_WORKSPACE + ehoc ${{github.workspace}} + echo "::::::::::::::::::::::::::::::::::::::::::::::::::::::" - name: install dependencies run: bun install - name: build package