mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
name: "webmin.dev: Webmin"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
if: contains(github.event.head_commit.message, '[build]')
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: awalsh128/cache-apt-pkgs-action@latest
|
|
with:
|
|
packages: git tar gzip openssl curl openssh-client rpm perl libjson-pp-perl libdigest-sha-perl liblist-moreutils-perl libencode-detect-perl zstd
|
|
version: 1.0
|
|
- uses: szenius/set-timezone@v1.2
|
|
with:
|
|
timezoneLinux: "Europe/Nicosia"
|
|
- name: Fetch dependencies
|
|
run: |-
|
|
curl -O https://raw.githubusercontent.com/webmin/webmin-ci-cd/main/build/bootstrap.bash
|
|
- name: Build and upload packages
|
|
env:
|
|
CLOUD__GPG_PH: ${{ secrets.DEV_GPG_PH }}
|
|
CLOUD__IP_ADDR: ${{ secrets.DEV_IP_ADDR }}
|
|
CLOUD__UPLOAD_SSH_USER: ${{ secrets.DEV_UPLOAD_SSH_USER }}
|
|
CLOUD__UPLOAD_SSH_DIR: ${{ secrets.DEV_UPLOAD_SSH_DIR }}
|
|
CLOUD__SSH_PRV_KEY: ${{ secrets.DEV_SSH_PRV_KEY }}
|
|
CLOUD__GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |-
|
|
bash bootstrap.bash
|
|
bash build-deb-package.bash webmin --testing
|
|
bash build-rpm-package.bash webmin --testing
|