Update SQLite3 #66
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: Update SQLite3 | |
on: | |
schedule: | |
- cron: '0 0 1 * *' | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install tclsh | |
shell: bash | |
run: sudo apt-get install tcl-dev | |
- uses: actions/checkout@master | |
- name: Checkout submodules | |
shell: bash | |
run: | | |
auth_header="$(git config --local --get http.https://github.com/.extraheader)" | |
git submodule sync --recursive | |
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 | |
- name: Update.sh | |
shell: bash | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
./.github/workflows/update.sh | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |