Skip to content

Commit 9af957c

Browse files
committed
ci: Try without env
1 parent 05d6e92 commit 9af957c

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -202,16 +202,15 @@ jobs:
202202
run: |
203203
echo "Installing toolchain: ${{ matrix.build.toolchain }}"
204204
sudo tar -xzf "${{ matrix.build.toolchain }}.tar.gz" -C /
205+
rm "${{ matrix.build.toolchain }}.tar.gz"
205206
ls -l /opt/netsurf/
206207
207208
- name: Build and install project libs
208-
env:
209-
HOST: ${{ matrix.build.toolchain }}
210209
run: |
211210
ls
212211
export TARGET_WORKSPACE="$(pwd)/projects"
213212
echo "TARGET_WORKSPACE=$TARGET_WORKSPACE"
214-
source docs/env.sh
213+
HOST=${{ matrix.build.toolchain }} source docs/env.sh
215214
echo "Cloning libs..."
216215
ns-clone -d -s
217216
echo "Building and installing tools..."
@@ -220,19 +219,15 @@ jobs:
220219
ns-make-libs install
221220
222221
- name: Build NetSurf
223-
env:
224-
HOST: ${{ matrix.build.toolchain }}
225222
run: |
226223
export TARGET_WORKSPACE="$(pwd)/projects"
227-
source docs/env.sh
224+
HOST=${{ matrix.build.toolchain }} source docs/env.sh
228225
make -j"$(nproc)" TARGET=${{ matrix.build.frontend }}
229226
230227
- name: Make package
231-
env:
232-
HOST: ${{ matrix.build.toolchain }}
233228
run: |
234229
export TARGET_WORKSPACE="$(pwd)/projects"
235-
source docs/env.sh
230+
HOST=${{ matrix.build.toolchain }} source docs/env.sh
236231
make package TARGET=${{ matrix.build.frontend }}
237232
238233
# Can't avoid `upload-artifact` zipping the package

0 commit comments

Comments
 (0)