Skip to content

Commit 5fc50f7

Browse files
committed
workflow: build: Manual trigger to zip artifacts
When the build is triggered manually from github actions UI, nothing was built. Perform the build and upload artifacts and extras. Signed-off-by: Tommi Rantanen <tommi.rantanen@nordicsemi.no>
1 parent fa3058d commit 5fc50f7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ jobs:
7676
./nrfutil toolchain-manager launch --chdir serial_modem -- west twister -T . -v --inline-logs --overflow-as-errors --integration --exclude-tag exclude_integration
7777
7878
- name: Build Serial Modem nightly
79-
if: ${{ github.event_name == 'schedule' || inputs.trigger_source == 'release-workflow' }}
79+
if: ${{ github.event_name == 'schedule' || inputs.trigger_source == 'release-workflow' || github.event_name == 'workflow_dispatch' }}
8080
run: |
8181
./nrfutil toolchain-manager launch --chdir serial_modem -- west twister -T . -v --inline-logs --overflow-as-errors --all
8282
8383
- name: Zip build artifacts
84-
if: ${{ github.event_name == 'schedule' || inputs.trigger_source == 'release-workflow' }}
84+
if: ${{ github.event_name == 'schedule' || inputs.trigger_source == 'release-workflow' || github.event_name == 'workflow_dispatch' }}
8585
working-directory: serial_modem
8686
run: |
8787
mkdir -p artifacts
@@ -135,14 +135,14 @@ jobs:
135135
zip_artifacts "sm_ppp_shell" "${NRF54L15DK_DIR}/sm_ppp_shell/sample.sm_ppp_shell" "sm_ppp_shell_${VERSION}_nrf54l15dk" 1
136136
137137
- name: Upload artifacts
138-
if: ${{ github.event_name == 'schedule' || inputs.trigger_source == 'release-workflow' }}
138+
if: ${{ github.event_name == 'schedule' || inputs.trigger_source == 'release-workflow' || github.event_name == 'workflow_dispatch' }}
139139
uses: actions/upload-artifact@v4
140140
with:
141141
path: |
142142
serial_modem/artifacts/*
143143
144144
- name: Upload artifact extras
145-
if: ${{ inputs.trigger_source == 'release-workflow' }}
145+
if: ${{ inputs.trigger_source == 'release-workflow' || github.event_name == 'workflow_dispatch' }}
146146
uses: actions/upload-artifact@v4
147147
with:
148148
name: artifact_extras

0 commit comments

Comments
 (0)