Skip to content

Update Kernel

Update Kernel #47

Workflow file for this run

name: Update Kernel
on:
schedule:
- cron: '0 0 * * 0'
# Runs every Sunday at 00:00
workflow_dispatch:
jobs:
update_kernel:
runs-on: ubuntu-latest
steps:
- name: Checkout Scripts Repo
uses: MoeKernel/[email protected]
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get -y --no-install-recommends install python3 python3-pip git make bc ca-certificates git xz-utils
- name: Install Requests Library
run: |
pip install requests load_dotenv
- name: Clone Repo Scripts
uses: MoeKernel/[email protected]
with:
owner: 'MoeKernel'
branch: 'ksu'
repository: 'scripts'
- name: Set up GitHub Token
run: |
echo "TOKEN_GITHUB=${{ secrets.TOKEN_GITHUB }}" >> .env
- name: Github Configs
working-directory: ./scripts
run: |
git config --global user.email "[email protected]"
git config --global user.name "ginkgo"
- name: Run Update Script
working-directory: ./scripts
run: |
python update_kernel.py