Skip to content

increase build-number #246

increase build-number

increase build-number #246

name: increase build-number
on:
schedule:
- cron: "10 18 * * 1,5"
workflow_dispatch:
jobs:
report:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
- name: increase build number
run:
python recipe/increase_build_number.py
- name: Create report file
run: date +%s > report.txt
- name: Commit report
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git commit -am "build_number +=1"
git push