Update CI_update #3
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: Update BLAS | |
on: | |
schedule: | |
- cron: '0 0 * * 1' # Run every Monday at midnight UTC | |
push: | |
branches: | |
- main | |
jobs: | |
update-submodules: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Pull latest changes | |
run: git pull origin main | |
- name: Configure Git | |
run: | | |
git config user.email "${{ secrets.GIT_USER_EMAIL }}" | |
git config user.name "${{ secrets.GIT_USER_NAME }}" | |
- name: Update BLAS | |
run: | | |
git submodule update --recursive --remote | |
git add src && git commit -m "Update BLAS" | |
git push origin main |