Skip to content

Temurin nuspec updater #1059

Temurin nuspec updater

Temurin nuspec updater #1059

# This file updates the NUSPEC(s) in the repo checking the API
name: Temurin nuspec updater
on:
workflow_dispatch:
schedule:
- cron: '*/45 */20 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT || github.token }}
- id: temurin_sync
shell: bash
run: |
bash ./scripts/temurin-sync.sh
- id: repo_update
shell: bash
run: |
git config user.name github-actions
git config user.email [email protected]
git commit -a -m "Temurin version update on $(date)" && git push || echo "No changes"