Skip to content

Commit 3268d40

Browse files
committed
fix paths
1 parent 10cbcc7 commit 3268d40

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/build.yaml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,13 @@ on:
66
push:
77
branches: ["main"]
88

9-
env:
10-
TANGRAM_CI_DIR: ${{ github.workspace }}/../.tangram-ci-${{ github.event.repository.name }}
11-
TG_EXE: ${{ github.workspace }}/../.tangram-ci-${{ github.event.repository.name }}/bin/tangram
12-
139
jobs:
1410
test:
1511
if: github.event_name == 'pull_request'
1612
runs-on: ${{ matrix.runner }}
1713
environment: test
1814
strategy:
15+
fail-fast: false
1916
matrix:
2017
include:
2118
- runner: [self-hosted, macOS, ARM64]
@@ -27,6 +24,11 @@ jobs:
2724
- name: Check out packages repository
2825
uses: actions/checkout@v4
2926

27+
- name: Set environment variables
28+
run: |
29+
echo "TANGRAM_CI_DIR=$HOME/.tangram-ci" >> $GITHUB_ENV
30+
echo "TG_EXE=$HOME/.tangram-ci/bin/tangram" >> $GITHUB_ENV
31+
3032
- name: Configure Tangram
3133
run: |
3234
mkdir -p "$TANGRAM_CI_DIR/bin"
@@ -35,7 +37,7 @@ jobs:
3537
EOF
3638
cat > "$TANGRAM_CI_DIR/bin/tangram" << 'EOF'
3739
#!/bin/sh
38-
exec tangram -m server --directory "$TANGRAM_CI_DIR" --config "$TANGRAM_CI_DIR/config.json" "$@"
40+
exec tangram --directory "$TANGRAM_CI_DIR" --config "$TANGRAM_CI_DIR/config.json" "$@"
3941
EOF
4042
chmod +x "$TANGRAM_CI_DIR/bin/tangram"
4143
@@ -50,6 +52,7 @@ jobs:
5052
runs-on: ${{ matrix.runner }}
5153
environment: release
5254
strategy:
55+
fail-fast: false
5356
matrix:
5457
include:
5558
- runner: [self-hosted, macOS, ARM64]
@@ -61,6 +64,11 @@ jobs:
6164
- name: Check out packages repository
6265
uses: actions/checkout@v4
6366

67+
- name: Set environment variables
68+
run: |
69+
echo "TANGRAM_CI_DIR=$HOME/.tangram-ci" >> $GITHUB_ENV
70+
echo "TG_EXE=$HOME/.tangram-ci/bin/tangram" >> $GITHUB_ENV
71+
6472
- name: Configure Tangram
6573
run: |
6674
mkdir -p "$TANGRAM_CI_DIR/bin"
@@ -69,7 +77,7 @@ jobs:
6977
EOF
7078
cat > "$TANGRAM_CI_DIR/bin/tangram" << 'EOF'
7179
#!/bin/sh
72-
exec tangram -m server --directory "$TANGRAM_CI_DIR" --config "$TANGRAM_CI_DIR/config.json" "$@"
80+
exec tangram --directory "$TANGRAM_CI_DIR" --config "$TANGRAM_CI_DIR/config.json" "$@"
7381
EOF
7482
chmod +x "$TANGRAM_CI_DIR/bin/tangram"
7583

0 commit comments

Comments
 (0)