Исправлена сборка бинарных образов [2/3]

This commit is contained in:
Aren 2023-09-30 23:17:32 +03:00
parent bddc10c93e
commit 9eca6d8157
1 changed files with 18 additions and 5 deletions

View File

@ -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
- 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 }}