-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 1014 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: static-files-generation
on:
schedule:
- cron: '0 2 * * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install APT Packages
run: sudo apt install exuberant-ctags make
- name: Install Poetry
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
cache: 'poetry'
- name: Generate files from the latest kernel
run: |
poetry install
poetry run python3 gen_syscalls.py FETCH
- name: Deploy
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
bash deploy.sh