Skip to content

Forgot README content #1

Forgot README content

Forgot README content #1

Workflow file for this run

name: Extract Apple SDKs
on:
push:
tags:
- '*'
workflow_dispatch:
# Cancel previous runs of the same workflow on the same branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
sdks:
name: SDKs
runs-on: macos-latest
defaults:
run:
shell: bash
steps:
- name: Extract and compress Apple SDKs
run: |
set -euxo pipefail
export XZ_OPT="-T1 -9"
find /Applications/Xcode.app -type d -name 'SDKs' \
| xargs -I {} find {} -type l -name '*.sdk' \
| parallel -j$(nproc) tar -cJf "/tmp/{/}.tar.xz" -C {} .;
- name: Create Release
uses: softprops/action-gh-release@v2
with:
body: 'Apple SDKs'
draft: true
files: '/tmp/*.sdk.tar.xz'
fail_on_unmatched_files: true