Skip to content

Commit 8785c6e

Browse files
committed
[SpacemiT] Fix ci workflow
1 parent cbefcbe commit 8785c6e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/spacemit3.6-build-and-test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,16 @@ concurrency:
2828
jobs:
2929
spacemit36x-unit-test:
3030
runs-on: spacemit3.6
31+
if: ${{ github.repository == 'flagos-ai/flagtree' && github.event.pull_request.draft == false }}
3132
env:
3233
SPINE_TRITON_RPC_PORT: "9999"
3334
steps:
35+
- name: Setup environment
36+
shell: bash
37+
run: |
38+
source ~/env.sh
39+
env | grep -E '^(http_proxy|https_proxy|all_proxy|no_proxy)=' >> $GITHUB_ENV || true
40+
3441
- name: Smart Checkout
3542
uses: flagos-ai/FlagTree/.github/actions/smart-checkout@main
3643
with:

0 commit comments

Comments
 (0)