Undo that dumb boilerplate, gotta figure out a better way (#14) #7
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: "build-devel-deb" | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
if: github.repository_owner == 'virtualmin' | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: 'jailkit' | |
- name: Install dependencies | |
run: |- | |
sudo apt-get -y update | |
sudo apt-get -y install perl build-essential gnupg curl | |
curl -O https://raw.githubusercontent.com/webmin/webmin/master/mod_def_list.txt | |
curl -O https://raw.githubusercontent.com/webmin/webmin/master/makemoduledeb.pl | |
- name: Build package | |
env: | |
APTLY_USER: ${{ secrets.APTLY_USER }} | |
APTLY_PASSWD: ${{ secrets.APTLY_PASSWD }} | |
run: |- | |
jailkit/build-devel-deb.sh |