ci: split build workflow into composite actions
Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
16
.github/actions/setup-dependencies/macos/action.yml
vendored
Normal file
16
.github/actions/setup-dependencies/macos/action.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Setup macOS dependencies
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
brew update
|
||||
brew install ninja extra-cmake-modules temurin@17
|
||||
|
||||
- name: Set JAVA_HOME
|
||||
shell: bash
|
||||
run: |
|
||||
echo "JAVA_HOME=$(/usr/libexec/java_home -v 17)" >> "$GITHUB_ENV"
|
||||
Reference in New Issue
Block a user