2021-05-05 13:02:09 +00:00
|
|
|
name: release-ci
|
2021-05-05 12:59:28 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * *'
|
2021-06-07 08:59:44 +00:00
|
|
|
|
|
|
|
# In case we change the `install.sh` scripts:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths:
|
|
|
|
- 'utils/*/install.sh'
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- 'utils/*/install.sh'
|
2021-05-05 12:59:28 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
2021-05-05 13:02:09 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- release-type: deb
|
2021-05-05 13:03:27 +00:00
|
|
|
release-env: debian
|
|
|
|
- release-type: deb
|
|
|
|
release-env: ubuntu
|
|
|
|
- release-type: rpm
|
|
|
|
release-env: centos
|
2021-05-05 13:02:09 +00:00
|
|
|
- release-type: rpm
|
2021-05-05 13:03:27 +00:00
|
|
|
release-env: fedora
|
2021-05-06 10:16:48 +00:00
|
|
|
- release-type: apk
|
|
|
|
release-env: alpine
|
2021-05-05 12:59:28 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Run checks
|
|
|
|
run: |
|
|
|
|
SECRETS_RELEASE_ENV="${{ matrix.release-env }}" \
|
|
|
|
SECRETS_RELEASE_TYPE="${{ matrix.release-type }}" \
|
|
|
|
make release-ci
|