BMOSP/.github/workflows/release.yml
Workflow config file is invalid. Please check your config file: yaml: line 7: did not find expected key
2023-10-24 23:53:20 +03:00

48 lines
1.2 KiB
YAML

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
- name: Configure Git user
run: |
git config --global user.email "github@github.com"
git config --global user.name "Build bot"
- name: install depends
run: sudo apt install clang-format python3 git gdisk gcc g++ xorriso make mtools curl dos2unix
- name: install limine
run: |
git clone https://github.com/limine-bootloader/limine.git --branch=v5.x-branch-binary --depth=1
- name: build
run: |
dos2unix *.sh
chmod +x build.sh
./build.sh
- name: Add and commit files
uses: EndBug/add-and-commit@v9
with:
add: 'x86_64-kernel.elf x86_64-mseos.hdd'
author_name: Bot
author_email: bot@example.com
commit: --signoff
message: Update
new_branch: binary
pathspec_error_handling: ignore
push: true
github_token: ${{ secrets.GITHUB_TOKEN }}