From 9eca6d8157a96454aaa137e856a6e287aeb848c2 Mon Sep 17 00:00:00 2001 From: Aren Date: Sat, 30 Sep 2023 23:17:32 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D1=81=D0=B1=D0=BE=D1=80=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=B1=D0=B8=D0=BD=D0=B0=D1=80=D0=BD=D1=8B=D1=85=20=D0=BE=D0=B1?= =?UTF-8?q?=D1=80=D0=B0=D0=B7=D0=BE=D0=B2=20[2/3]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bd7e88d..5914a3c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,11 +16,24 @@ jobs: with: python-version: 3.x + - name: Configure Git user + run: | + git config --global user.email "github@github.com" + git config --global user.name "Build bot" + - name: Build run: | python3 build.py - git add -f kernel.elf - git add -f mseos.hdd - git add -f mseos.iso - git commit -m "Update" - git push origin HEAD:refs/heads/binary \ No newline at end of file + + - name: Add and commit files + uses: EndBug/add-and-commit@v9 + with: + add: 'kernel.elf mseos.hdd mseos.iso' + author_name: Bot + author_email: bot@example.com + commit: --signoff + message: Update + new_branch: binary + pathspec_error_handling: ignore + push: true + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file