mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-07 19:36:33 +00:00
ATL-423: Can execute the nightly manually.
We consider a build as nightly, if was started by the CRON job, or was manually triggered from the master branch. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
ec7df884ee
commit
7536c3a485
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -6,6 +6,7 @@ on:
|
||||
- master
|
||||
tags:
|
||||
- '[0-9]+.[0-9]+.[0-9]+*'
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
@ -58,7 +59,7 @@ jobs:
|
||||
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
IS_NIGHTLY: ${{ github.event_name == 'schedule' }}
|
||||
IS_NIGHTLY: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master') }}
|
||||
IS_RELEASE: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
run: |
|
||||
# electron-builder will try to sign during the Windows job if these environment variables are defined
|
||||
@ -78,7 +79,7 @@ jobs:
|
||||
|
||||
publish:
|
||||
needs: build
|
||||
if: github.event_name == 'schedule'
|
||||
if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download [GitHub Actions]
|
||||
|
Loading…
x
Reference in New Issue
Block a user