-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from svetasmirnova/main
Automatically update submodules and add version support for Percona Toolkit
- Loading branch information
Showing
4 changed files
with
33 additions
and
10 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@main | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
|
@@ -19,7 +19,21 @@ jobs: | |
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ^1.21.4 | ||
|
||
|
||
# Update references | ||
- name: Git Sumbodule Update | ||
run: | | ||
git checkout main | ||
git pull --recurse-submodules | ||
git submodule update --remote --recursive | ||
- name: Commit update | ||
run: | | ||
git config --global user.name 'Git bot' | ||
git config --global user.email '[email protected]' | ||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} | ||
git commit -am "Auto updated submodule references" && git push || echo "No changes to commit" | ||
- name: Build | ||
run: ./build | ||
env: | ||
|
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
Submodule percona-toolkit
updated
941 files
Submodule pmm-dump
updated
1027 files