-
Notifications
You must be signed in to change notification settings - Fork 106
36 lines (35 loc) · 1.16 KB
/
fetch-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
32
33
34
35
36
name: "Refresh from Upstream"
on:
schedule:
- cron: '0 7 * * *'
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.git'
local-branch: 'upstream'
- name: "Merge Corretto-11"
uses: ./.github/actions/merge-repo
with:
upstream: 'upstream'
merge-branch: 'develop'
- name: "Update Corretto version"
uses: ./.github/actions/update-version
with:
upstream: 'upstream'
version-branch: 'develop'
- name: "Merge Corretto-11 develop to nightly"
uses: ./.github/actions/merge-repo
with:
upstream: 'develop'
merge-branch: 'nightly'