cut new release #33799
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: cut new release | |
on: | |
schedule: | |
- cron: '*/15 * * * *' | |
jobs: | |
trigger: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Run first script | |
run: | | |
./scripts/check-for-update.sh | |
id: version_check | |
- name: Run second script if the versions differ | |
run: | | |
./scripts/archive-current-formula.sh | |
./scripts/update.sh > Formula/fe.rb | |
git config --global user.email "[email protected]" | |
git config --global user.name "GitHub Actions Bot" | |
git add . | |
git commit -m "Added new Release via GitHub Actions" | |
git push origin main |