Skip to content

Corretto nuspec updater #1776

Corretto nuspec updater

Corretto nuspec updater #1776

# This file updates the NUSPEC(s) in the repo checking the Amazon Corrtto API
name: Corretto nuspec updater
on:
workflow_dispatch:
schedule:
- cron: '*/55 */10 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT || github.token }}
- id: corretto_sync
shell: bash
run: |
bash ./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 "Corretto version update on $(date)" && git push || echo "No changes"