Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/sync-packagist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,25 @@ on:
release:
types: [published]
workflow_dispatch:
inputs:
publish:
description: Trigger Packagist after validation
required: true
type: boolean
default: false

permissions:
contents: read

jobs:
packagist:
name: Trigger Packagist update
runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64, nvoip-ci-public-release]
steps:
- name: Validate runner dependencies
run: curl --version
- name: Update package metadata
if: github.event_name == 'release' || inputs.publish
run: |
curl -fsS -X POST \
-H "content-type: application/json" \
Expand Down
Loading