|
name: Build package
|
|
run-name: Build package
|
|
on: [push]
|
|
|
|
jobs:
|
|
Build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Update repo
|
|
run: git pull
|
|
- name: List files in the repository
|
|
run: |
|
|
ls ${{ gitea.workspace }}
|
|
- name: Update apt
|
|
run: apt update
|
|
- name: Installing system dependencies
|
|
run: apt install python3 python3-pip python3-venv make -y
|
|
- name: Run Make
|
|
run: make
|
|
- run: git add .
|
|
- run: git config --global user.email "bot@molodetz.com"
|
|
- run: git config --global user.name "bot"
|
|
- run: git commit -a -m "Automated update of new package."
|
|
- run: git push
|