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:
parent
9a6f925bcb
commit
35c7afc6a1
11 changed files with 341 additions and 9 deletions
26
.github/actions/job_wrapper/action.yaml
vendored
Normal file
26
.github/actions/job_wrapper/action.yaml
vendored
Normal 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' }}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue