mirror of
https://github.com/sobolevn/git-secret
synced 2024-11-06 15:20:36 +00:00
46 lines
970 B
YAML
46 lines
970 B
YAML
name: release-ci
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
|
|
# In case we change the `install.sh` scripts:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'utils/*/install.sh'
|
|
- '.ci/release-ci/**'
|
|
pull_request:
|
|
paths:
|
|
- 'utils/*/install.sh'
|
|
- '.ci/release-ci/**'
|
|
|
|
concurrency:
|
|
group: ${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
- release-type: deb
|
|
release-env: debian
|
|
- release-type: deb
|
|
release-env: ubuntu
|
|
- release-type: rpm
|
|
release-env: fedora
|
|
- release-type: apk
|
|
release-env: alpine
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Run checks
|
|
run: |
|
|
SECRETS_RELEASE_ENV="${{ matrix.release-env }}" \
|
|
SECRETS_RELEASE_TYPE="${{ matrix.release-type }}" \
|
|
make release-ci
|