ee10-autoupdate #272
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: ee10-autoupdate | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
with: | |
ref: 'jakartaee-10' | |
fetch-depth: '0' | |
submodules: 'true' | |
token: ${{ secrets.GIT_PASSWORD }} | |
- name: Nightly update of JakartaEE 10 modules | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Automated workflow" | |
git submodule update --init --recursive | |
git submodule update --recursive --remote | |
git add --all | |
git commit -a -m "Nightly update of JakartaEE 10 modules" || true | |
git push || true |