Refresh from Upstream #1530
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |