Skip to content

Commit

Permalink
HDDS-11689. Extract scheduled workflow for populate-cache (apache#7429)
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroszlai authored Nov 14, 2024
1 parent 889ba80 commit fd5c6d8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/populate-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ on:
- 'pom.xml'
- '**/pom.xml'
- '.github/workflows/populate-cache.yml'
schedule:
- cron: '20 3 * * *'
workflow_call:
workflow_dispatch:

jobs:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/scheduled-cache-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# This workflow periodically updates dependency cache.

name: scheduled-cache-update

on:
schedule:
- cron: '20 3 * * *'

jobs:
update:
uses: ./.github/workflows/populate-cache.yml
secrets: inherit

0 comments on commit fd5c6d8

Please sign in to comment.