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

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
elifaslan1 committed Dec 28, 2023
1 parent 5a52128 commit 6b8e2b0
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/refresh-jdk.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/refresh-jdk22.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: "Refresh jdk22 from Upstream"
on:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:

jobs:
refresh-jdk22:
runs-on: ubuntu-latest
name: "Update Corretto-22"
if: github.repository_owner == 'corretto'
steps:
- name: "Checkout code"
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: "Fetch Corretto-22 upstream"
uses: ./.github/actions/fetch-repo
with:
upstream: 'https://github.com/openjdk/jdk22.git'
local-branch: 'upstream-jdk22'
- name: "Merge Corretto-22"
uses: ./.github/actions/merge-repo
with:
upstream: 'upstream-jdk22'
merge-branch: 'develop'
- name: "Update Corretto version"
uses: ./.github/actions/update-version
with:
upstream: 'upstream-jdk22'
version-branch: 'develop'
- name: "Merge Corretto-22 develop to nightly"
uses: ./.github/actions/merge-repo
with:
upstream: 'develop'
merge-branch: 'nightly'

0 comments on commit 6b8e2b0

Please sign in to comment.