Skip to content

Commit 05ef1e6

Browse files
committed
Publish nightlies on workflow_dispatch event
1 parent c50d341 commit 05ef1e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
pull_request:
66
schedule:
77
- cron: '0 3 * * *' # Every day at 3 AM
8+
workflow_dispatch:
89

910
env:
1011
DOTTY_CI_RUN: true
@@ -317,7 +318,7 @@ jobs:
317318
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
318319
- ${{ github.workspace }}/../../cache/general:/root/.cache
319320
needs: [test_non_bootstrapped, test, community_build_a, community_build_b, test_sbt, test_java8]
320-
if: "github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'"
321+
if: "(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'lampepfl/dotty'"
321322
env:
322323
NIGHTLYBUILD: yes
323324
PGP_PW: ${{ secrets.PGP_PW }} # PGP passphrase

0 commit comments

Comments
 (0)