Skip to content

Commit

Permalink
Added unit-packaging reusable workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
thresheek committed Mar 28, 2024
1 parent 9d94510 commit 146cc4a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/unit-packaging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Unit packaging checks workflow

on:
workflow_call:

jobs:
deb-packaging:
if: ${{ ( github.repository == 'nginx/unit' || github.repository == 'nginx/ci-check-self-hosted-unit' ) && github.event_name == 'push' && github.ref = 'refs/heads/master' }}
runs-on: [ self-hosted, "${{ matrix.os }}-${{ matrix.arch }}" ]
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04 ]
arch: [ amd64 ]

steps:
- name: dump the environment
run: |
env
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"

0 comments on commit 146cc4a

Please sign in to comment.