release #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "[email protected]" | |
git config --global user.name "Build bot" | |
- name: Build | |
run: | | |
python3 build.py | |
cp kernel.elf x86_64-kernel.elf | |
cp mseos.hdd x86_64-mseos.hdd | |
cp mseos.iso x86_64-mseos.iso | |
- name: Add and commit files | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: 'x86_64-kernel.elf x86_64-mseos.hdd x86_64-mseos.iso' | |
author_name: Bot | |
author_email: [email protected] | |
commit: --signoff | |
message: Update | |
new_branch: binary | |
pathspec_error_handling: ignore | |
push: true | |
github_token: ${{ secrets.TOKEN }} |