Skip to content

github action

github action #4

Workflow file for this run

name: Build Debian Package
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential debhelper dh-python python3-all
- name: Prepare orig.tar.gz
run: |
cd ..
tar czf okadminfinder_1.1.0.orig.tar.gz okadminfinder
- name: Build Debian package
run: |
cd ../okadminfinder
dpkg-buildpackage -rfakeroot -uc -us
- name: Upload Debian package artifacts
uses: actions/upload-artifact@v2
with:
name: okadminfinder-deb-package
path: okadminfinder_*.deb