Check and update #22649
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: Check and update | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: '0 */2 * * *' | |
jobs: | |
build: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: Set git user | |
run: | | |
git config --global user.email [email protected] | |
git config --global user.name cexbrayat | |
git remote set-url origin https://$GITHUB_ACTOR:[email protected]/cexbrayat/angular-cli-diff.git | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Generate new version | |
run: ./newVersion.sh |