2023-09-30 22:59:58 +03:00
|
|
|
name: Release Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Set up Python
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: 3.x
|
|
|
|
|
2023-09-30 23:17:32 +03:00
|
|
|
- name: Configure Git user
|
|
|
|
run: |
|
|
|
|
git config --global user.email "github@github.com"
|
|
|
|
git config --global user.name "Build bot"
|
|
|
|
|
2023-09-30 22:59:58 +03:00
|
|
|
- name: Build
|
|
|
|
run: |
|
|
|
|
python3 build.py
|
2023-09-30 23:25:35 +03:00
|
|
|
cp kernel.elf x86_64-kernel.elf
|
|
|
|
cp mseos.hdd x86_64-mseos.hdd
|
2023-09-30 23:17:32 +03:00
|
|
|
|
|
|
|
- name: Add and commit files
|
|
|
|
uses: EndBug/add-and-commit@v9
|
|
|
|
with:
|
2023-10-02 20:32:29 +03:00
|
|
|
add: 'x86_64-kernel.elf x86_64-mseos.hdd'
|
2023-09-30 23:17:32 +03:00
|
|
|
author_name: Bot
|
|
|
|
author_email: bot@example.com
|
|
|
|
commit: --signoff
|
|
|
|
message: Update
|
|
|
|
new_branch: binary
|
|
|
|
pathspec_error_handling: ignore
|
|
|
|
push: true
|
2023-09-30 23:35:22 +03:00
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|