Skip to content

Commit

Permalink
Added github workflow to update corretto JDKs and JRE8
Browse files Browse the repository at this point in the history
  • Loading branch information
ajshastri committed Dec 27, 2023
1 parent 643e1c3 commit 47061cb
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/corretto-update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This file updates the NUSPEC(s) in the repo checking the Amazon Corrtto API

name: Corretto nuspec updater

on:
workflow_dispatch:
schedule:
- cron: '*/55 */19 * * *'
jobs:
build:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT || github.token }}
- id: corretto_sync
shell: bash
run: |
./scripts/corretto-sync.sh
- id: repo_update
shell: bash
run: |
git config user.name github-actions
git config user.email [email protected]
git commit -a -m "Zulu version update on $(date)" && git push || echo "No changes"

0 comments on commit 47061cb

Please sign in to comment.