Skip to content

update deb: debhelper (>= 9.20160709) #72

update deb: debhelper (>= 9.20160709)

update deb: debhelper (>= 9.20160709) #72

name: Releases Packages
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependent
run: |
make dependent
- name: Config Github
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub"
- name: Checkout
run: |
make $(basename ${GITHUB_REF})
- name: Build binaries
run: |
make build-binaries
- name: Package rpm
run: |
make pkg-rpm
- name: Sync repository
env:
BRANCH_PREFIX: "rpm-"
REPOS: "rpm"
run: |
GH_TOKEN="${GH_TOKEN:-${{ secrets.GITHUB_TOKEN }}}" SOURCE="${SOURCE:-https://github.com/${{ github.repository }}}" make repos-sync
- name: Package deb
run: |
make pkg-deb
- name: Sync repository
env:
BRANCH_PREFIX: "deb-"
REPOS: "deb"
run: |
GH_TOKEN="${GH_TOKEN:-${{ secrets.GITHUB_TOKEN }}}" SOURCE="${SOURCE:-https://github.com/${{ github.repository }}}" make repos-sync