Skip to content

Add GitHub Actions configuration #1

Add GitHub Actions configuration

Add GitHub Actions configuration #1

name: JUCE Private Push Trigger
on:
push:
branches:
- master
- develop
- bugfix/**
- feature/**
jobs:
juce-private-push-trigger:
if: github.repository == 'juce-framework/JUCE-dev'
name: JUCE Push Trigger
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
sparse-checkout: ./.github/workflows
- name: Trigger a private build using the GitHub API
env:
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TRIGGER_WORKFLOW_INPUTS: |
{"triggerer":"${{ github.actor }}"}
run: python3 ./.github/workflows/trigger_workflow.py