Skip to content

Commit 3f52835

Browse files
committed
Adjusted workflow triggers to allow manual and scheduled runs
1 parent d98aaa4 commit 3f52835

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/build.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@
44
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
55
#
66

7-
name: "Build MQTT Client"
7+
name: "Build atomvm_mqtt_client"
88

9-
on: ["push", "pull_request"]
9+
on:
10+
push:
11+
pull_request:
12+
workflow_dispatch:
13+
schedule:
14+
- cron: '17 9 * * *'
1015

1116
jobs:
1217
esp32-build:
@@ -47,8 +52,6 @@ jobs:
4752
4853
- name: "Check out AtomVM"
4954
run: |
50-
pwd
51-
ls -l
5255
git clone https://github.com/atomvm/AtomVM
5356
cd AtomVM
5457
git rev-parse --short HEAD
@@ -63,13 +66,13 @@ jobs:
6366
- name: "Build erlang and Elixir libs"
6467
working-directory: AtomVM/build/libs
6568
run: |
66-
make
69+
make atomvmlib
6770
6871
- name: "Build ${{ matrix.soc }} AtomVM with atomvm_mqtt_client"
6972
working-directory: ./AtomVM/src/platforms/esp32/
7073
run: |
7174
cd components
72-
ln -s /__w/atomvm_mqtt_client/atomvm_mqtt_client
75+
ln -s ../../../../../../atomvm_mqtt_client
7376
cd ..
7477
. $IDF_PATH/export.sh
7578
idf.py set-target ${{ matrix.soc }}
@@ -137,10 +140,6 @@ jobs:
137140
- name: "Download artifacts"
138141
uses: actions/download-artifact@v3
139142

140-
- name: Display structure of downloaded files
141-
run: |
142-
ls -R
143-
144143
- name: Upload latest release
145144
uses: pyTooling/Actions/releaser@main
146145
with:

0 commit comments

Comments
 (0)