File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: Checkbox Snap daily cross-builds
33on :
44 workflow_dispatch :
55 workflow_call :
6+ push :
7+ branches :
8+ - build_new_action
9+
610
711jobs :
812 snap-runtime :
1721 arch : amd64
1822 - release : 16
1923 arch : arm64
20- runs-on : ${{ matrix.release == 16 && " ubuntu-20.04" || " ubuntu-latest" }}
24+ runs-on : ${{ matrix.release == 16 && ' ubuntu-20.04' || ' ubuntu-latest' }}
2125 timeout-minutes : 1200 # 20h, this will timeout sooner due to inner timeouts
2226 name : Runtime ${{ matrix.release }}-${{ matrix.arch }}
2327 steps :
6266 path : checkbox-core-snap/series${{ matrix.release }}/*.snap
6367
6468 - name : Publish track
65- if : ${{ github.event_name != 'workflow_dispatch ' }}
69+ if : ${{ github.event_name == 'workflow_call ' }}
6670 uses : canonical/action-publish@v1
6771 env :
6872 SNAPCRAFT_STORE_CREDENTIALS : ${{ secrets.SNAPCRAFT7_CREDS }}
9599 arch : amd64
96100 - release : 24
97101 arch : arm64
98- runs-on : ${{ matrix.release == 16 && " ubuntu-20.04" || " ubuntu-latest" }}
102+ runs-on : ${{ matrix.release == 16 && ' ubuntu-20.04' || ' ubuntu-latest' }}
99103 timeout-minutes : 1200 # 20h, this will timeout sooner due to inner timeouts
100104 name : Frontend ${{ matrix.type }}${{ matrix.release }} - ${{ matrix.arch }}
101105 steps :
@@ -140,7 +144,7 @@ jobs:
140144 path : ${{ steps.snapcraft.outputs.snap }}
141145
142146 - name : Publish track
143- if : ${{ github.event_name != 'workflow_dispatch ' }}
147+ if : ${{ github.event_name == 'workflow_call ' }}
144148 uses : canonical/action-publish@v1
145149 env :
146150 SNAPCRAFT_STORE_CREDENTIALS : ${{ secrets.SNAPCRAFT7_CREDS }}
You can’t perform that action at this time.
0 commit comments