Skip to content

Commit 64cbd99

Browse files
fix gh action build
1 parent c0caed8 commit 64cbd99

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/linutil.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ jobs:
4343
run: |
4444
mv build/x86_64-unknown-linux-musl/release/linutil build/linutil
4545
mv build/aarch64-unknown-linux-musl/release/linutil build/linutil-aarch64
46-
- name: Fetch latest changes
46+
- name: Pull latest changes
4747
run: |
48-
git fetch origin main
49-
git reset --hard origin/main
48+
git config --global user.email "github-actions@github.com"
49+
git config --global user.name "GitHub Actions"
50+
git pull origin main
5051
- uses: stefanzweifel/git-auto-commit-action@v5
5152
with:
5253
commit_message: Commit Linutil

0 commit comments

Comments
 (0)