Merge pull request #2687 from concord-consortium/CODAP-1485-hierarchi… #2044
This file contains hidden or 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: Increment build number | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - 'v3/build_number.json' | |
| jobs: | |
| test: | |
| name: Increment value test | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Check out source code | |
| uses: actions/checkout@v4 | |
| - name: Increment value | |
| working-directory: v3 | |
| run: ./increment_build_num.sh | |
| - name: Commit and push | |
| # Use the official github-actions[bot] account (ID 41898282) for automated commits. | |
| # https://github.com/actions/checkout/issues/13#issuecomment-724415212 | |
| run: | | |
| git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| git config --local user.name "github-actions[bot]" | |
| git commit -a -m "Increment the build number" | |
| git push |