forked from corretto/corretto-11
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (30 loc) · 1004 Bytes
/
fetch-dev-repo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: "Refresh from Upstream-dev"
on:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:
jobs:
refresh-jdk11:
runs-on: ubuntu-latest
name: "Update Corretto-11"
if: github.repository_owner == 'corretto'
steps:
- name: "Checkout code"
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: "Fetch Corretto-11 upstream"
uses: ./.github/actions/fetch-repo
with:
upstream: 'https://github.com/openjdk/jdk11u-dev.git'
local-branch: 'upstream-dev'
- name: "Merge Corretto-11"
uses: ./.github/actions/merge-repo
with:
upstream: 'upstream-dev'
merge-branch: 'nightly'
- name: "Update Corretto version"
uses: ./.github/actions/update-version
with:
upstream: 'upstream-dev'
version-branch: 'nightly'