diff --git a/.github/workflows/linutil.yml b/.github/workflows/linutil.yml index 4adf78e3..5b6a90db 100644 --- a/.github/workflows/linutil.yml +++ b/.github/workflows/linutil.yml @@ -43,8 +43,12 @@ jobs: run: | mv build/x86_64-unknown-linux-musl/release/linutil build/linutil mv build/aarch64-unknown-linux-musl/release/linutil build/linutil-aarch64 + - name: Fetch latest changes + run: | + git fetch origin main + git reset --hard origin/main - uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: Commit Linutil file_pattern: "build/linutil build/linutil-aarch64" - if: success() + if: success() \ No newline at end of file