Skip to content

Resolve GitHub CI deprecation warning(s) #515

Resolve GitHub CI deprecation warning(s)

Resolve GitHub CI deprecation warning(s) #515

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Clone Acidanthera/MacKernelSDK
run: git clone --depth 1 https://github.com/acidanthera/MacKernelSDK.git
- name: get shortsha
id: vars
run: |
echo "sha_short=$(git rev-parse --short=8 ${{ github.sha }})" >> $GITHUB_OUTPUT
- name: build
env:
VOODOORMI_SHA: VoodooRMI-${{ steps.vars.outputs.sha_short }}
run: |
mkdir -p build/${VOODOORMI_SHA}/{Debug,Release}
xcodebuild -configuration Debug -scheme VoodooRMI -derivedDataPath build clean build
xcodebuild -configuration Release -scheme VoodooRMI -derivedDataPath build build
- uses: actions/upload-artifact@v4
with:
name: VoodooRMI
path: build/Build/Products/*/*.zip