1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Add GitHub Actions configuration

This commit is contained in:
Tom Poole 2025-03-04 10:00:41 +00:00
parent 9a6f925bcb
commit 35c7afc6a1
11 changed files with 341 additions and 9 deletions

26
.github/actions/job_wrapper/action.yaml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Job Wrapper
description: Setup and cleanup for build jobs
inputs:
artifacts:
description: Required artifacts
required: false
default: ''
command:
description: The build command
required: true
runs:
using: composite
steps:
- name: Get artifacts
uses: ./.github/actions/download_artifacts
with:
keys: |
JUCE-utils
${{ inputs.artifacts }}
- run: ${{ inputs.command }}
shell: ${{ runner.os == 'Windows' && 'powershell' || 'bash' }}
- name: Handle job failure
if: failure()
run: python3 JUCE-utils/.github/workflows/post_job.py
shell: ${{ runner.os == 'Windows' && 'powershell' || 'bash' }}