diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 079f8f3..bfadc14 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,10 +48,21 @@ jobs: run: cp generator/target/${{ matrix.platform.target }}/release/libgenerator.${{ matrix.platform.origin_dylib_suffix }} lua/${{ matrix.platform.os_name }}generator.${{ matrix.platform.dest_dylib_suffix }} - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v5 + uses: EndBug/add-and-commit@v7 with: - commit_message: "[Update] build FFI dynamic library" - push_options: '--force' - skip_dirty_check: true - skip_fetch: true + message: '[Update] files based on generated files by template generator' + pull_strategy: 'NO-PULL' + push: false + + - name: Push changes + run: | + git pull --rebase + git push + + # - name: Commit changes + # uses: stefanzweifel/git-auto-commit-action@v5 + # with: + # commit_message: "[Update] build FFI dynamic library" + # skip_dirty_check: true + # skip_fetch: true