mirror of
https://github.com/tw93/Mole.git
synced 2026-02-16 21:39:11 +00:00
Automatically submit build files
This commit is contained in:
14
.github/workflows/shell-quality-checks.yml
vendored
14
.github/workflows/shell-quality-checks.yml
vendored
@@ -29,3 +29,17 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Universal Binary for disk analyzer
|
- name: Build Universal Binary for disk analyzer
|
||||||
run: ./scripts/build-analyze.sh
|
run: ./scripts/build-analyze.sh
|
||||||
|
|
||||||
|
- name: Commit analyzer binary if updated
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
|
run: |
|
||||||
|
if git diff --quiet -- bin/analyze-go; then
|
||||||
|
echo "bin/analyze-go unchanged; nothing to commit."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
|
git add bin/analyze-go
|
||||||
|
git commit -m "chore: update analyzer binary"
|
||||||
|
git push origin HEAD:${GITHUB_REF#refs/heads/}
|
||||||
|
|||||||
BIN
bin/analyze-go
BIN
bin/analyze-go
Binary file not shown.
Reference in New Issue
Block a user