Check queue before adding #72
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
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
sed -i 's/\(buildNumber = (\)\(.*\)/\1'\'${{ github.run_number }}'''\'''\'')/' ./index.js | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git add . | |
git commit -m "Updated build number" | |
git push |