Skip to content

Commit dcccea7

Browse files
committed
github: workflow: build: stop archiving firmwares
This causes the ci to fill up space, hence stop archiving firmwares Signed-off-by: Dhruva Gole <[email protected]>
1 parent a678711 commit dcccea7

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/build.yml

+11-5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@ jobs:
99
env:
1010
CMAKE_PREFIX_PATH: /opt/toolchains
1111
steps:
12+
- name: Free disk
13+
run: |
14+
sudo apt-get -qq purge build-essential ghc*
15+
sudo apt-get clean
16+
/usr/bin/docker system prune -af
17+
sudo mkdir /mnt/ccache
18+
mkdir ${{ env.CCACHE_DIR }}
19+
sudo mount --bind ${{ env.CCACHE_DIR }} /mnt/ccache
20+
sudo rm -rf /usr/local/*
21+
df -h
22+
1223
- name: Checkout
1324
uses: actions/checkout@v2
1425
with:
@@ -37,8 +48,3 @@ jobs:
3748
run: |
3849
west build -p -b beagleconnect_freedom samples/analog_input
3950
40-
- name: Archive firmware
41-
uses: actions/upload-artifact@v2
42-
with:
43-
name: firmware
44-
path: Arduino-Zephyr-API/build/zephyr/zephyr.*

0 commit comments

Comments
 (0)