Skip to content
This repository has been archived by the owner on Dec 26, 2024. It is now read-only.

Commit

Permalink
chore(ci): migrate Scheduled workflow to Scheduled pipeline (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar authored Oct 10, 2022
1 parent 0c705cb commit 0b7876c
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ jobs:
workflows:
version: 2
build:
when:
not:
equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
jobs:
- check-dependencies
- tests-java:
Expand All @@ -211,12 +214,7 @@ workflows:
only: master

nightly:
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- master
when:
equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
jobs:
- tests-java

0 comments on commit 0b7876c

Please sign in to comment.